[llvm-commits] [llvm] r153322 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Duncan Sands baldrick at free.fr
Fri Mar 23 01:29:04 PDT 2012


Author: baldrick
Date: Fri Mar 23 03:29:04 2012
New Revision: 153322

URL: http://llvm.org/viewvc/llvm-project?rev=153322&view=rev
Log:
Indentation.

Modified:
    llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=153322&r1=153321&r2=153322&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Fri Mar 23 03:29:04 2012
@@ -574,7 +574,7 @@
     // 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();





More information about the llvm-commits mailing list