summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-03-23 08:29:04 +0000
committerDuncan Sands <baldrick@free.fr>2012-03-23 08:29:04 +0000
commit01b305f94c663d000e2128c7ea8c0c4e02e9eeb4 (patch)
treee5940317dbd9cfc4c0da0122f2879b9ce74d2d8b /lib/Transforms/Scalar/ScalarReplAggregates.cpp
parent208b6f69441293d27b61b9d16a69c9bba4d097cb (diff)
downloadllvm-01b305f94c663d000e2128c7ea8c0c4e02e9eeb4.tar.gz
llvm-01b305f94c663d000e2128c7ea8c0c4e02e9eeb4.tar.bz2
llvm-01b305f94c663d000e2128c7ea8c0c4e02e9eeb4.tar.xz
Indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/ScalarReplAggregates.cpp')
-rw-r--r--lib/Transforms/Scalar/ScalarReplAggregates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 4e34868777..83627df2f5 100644
--- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@ -574,7 +574,7 @@ void ConvertToScalarInfo::ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI,
// transform it into a store of the expanded constant value.
if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
assert(MSI->getRawDest() == Ptr && "Consistency error!");
- int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
+ int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
if (SNumBytes > 0 && (SNumBytes >> 32) == 0) {
unsigned NumBytes = static_cast<unsigned>(SNumBytes);
unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();