[llvm] r273149 - Fix formatting of r273144. NFC.

Patrik Hagglund via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 04:19:59 PDT 2016


Author: patha
Date: Mon Jun 20 06:19:58 2016
New Revision: 273149

URL: http://llvm.org/viewvc/llvm-project?rev=273149&view=rev
Log:
Fix formatting of r273144. NFC.

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

Modified: llvm/trunk/lib/Transforms/Scalar/SROA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SROA.cpp?rev=273149&r1=273148&r2=273149&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SROA.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SROA.cpp Mon Jun 20 06:19:58 2016
@@ -3110,10 +3110,10 @@ private:
       //
       // The gep and extractvalue values are factored out of the CreateStore
       // call to make the output independent of the argument evaluation order.
-      Value *ExtractValue = IRB.CreateExtractValue(Agg, Indices,
-        Name + ".extract");
-      Value *InBoundsGEP = IRB.CreateInBoundsGEP(nullptr, Ptr, GEPIndices,
-        Name + ".gep");
+      Value *ExtractValue =
+          IRB.CreateExtractValue(Agg, Indices, Name + ".extract");
+      Value *InBoundsGEP =
+          IRB.CreateInBoundsGEP(nullptr, Ptr, GEPIndices, Name + ".gep");
       Value *Store = IRB.CreateStore(ExtractValue, InBoundsGEP);
       (void)Store;
       DEBUG(dbgs() << "          to: " << *Store << "\n");




More information about the llvm-commits mailing list