[polly] r210124 - Fix formatting

Tobias Grosser tobias at grosser.es
Tue Jun 3 13:20:41 PDT 2014


Author: grosser
Date: Tue Jun  3 15:20:41 2014
New Revision: 210124

URL: http://llvm.org/viewvc/llvm-project?rev=210124&view=rev
Log:
Fix formatting

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=210124&r1=210123&r2=210124&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Tue Jun  3 15:20:41 2014
@@ -377,7 +377,7 @@ bool ScopDetection::hasAffineMemoryAcces
                                               PIAF.second);
 
       MemAcc *Acc = new MemAcc(Insn, Shape);
-      InsnToMemAcc.insert({ Insn, Acc });
+      InsnToMemAcc.insert({Insn, Acc});
       AF->computeAccessFunctions(*SE, Acc->DelinearizedSubscripts,
                                  Shape->DelinearizedSizes);
       if (Shape->DelinearizedSizes.empty() ||
@@ -439,12 +439,12 @@ bool ScopDetection::isValidMemoryAccess(
     // accesses to the same array in a unique step.
     if (Context.NonAffineAccesses[BasePointer].size() == 0)
       Context.NonAffineAccesses[BasePointer] = AFs();
-    Context.NonAffineAccesses[BasePointer].push_back({ &Inst, AF });
+    Context.NonAffineAccesses[BasePointer].push_back({&Inst, AF});
   } else if (const SCEVAddRecExpr *AF =
                  dyn_cast<SCEVAddRecExpr>(AccessFunction)) {
     if (Context.AffineAccesses[BasePointer].size() == 0)
       Context.AffineAccesses[BasePointer] = AFs();
-    Context.AffineAccesses[BasePointer].push_back({ &Inst, AF });
+    Context.AffineAccesses[BasePointer].push_back({&Inst, AF});
   }
 
   // FIXME: Alias Analysis thinks IntToPtrInst aliases with alloca instructions





More information about the llvm-commits mailing list