[llvm] r268995 - Minor formatting fixes in LoopUnroll.cpp.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 17:31:24 PDT 2016


Author: jlebar
Date: Mon May  9 19:31:23 2016
New Revision: 268995

URL: http://llvm.org/viewvc/llvm-project?rev=268995&view=rev
Log:
Minor formatting fixes in LoopUnroll.cpp.

Modified:
    llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp

Modified: llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp?rev=268995&r1=268994&r2=268995&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopUnroll.cpp Mon May  9 19:31:23 2016
@@ -284,15 +284,13 @@ bool llvm::UnrollLoop(Loop *L, unsigned
   DEBUG(
       {
         bool HasConvergent = false;
-        for (auto &BB
-             : L->blocks())
+        for (auto &BB : L->blocks())
           for (auto &I : *BB)
             if (auto CS = CallSite(&I))
               HasConvergent |= CS.isConvergent();
         assert((!HasConvergent || TripMultiple % Count == 0) &&
                "Unroll count must divide trip multiple if loop contains a "
-               "convergent "
-               "operation.");
+               "convergent operation.");
       });
   // Don't output the runtime loop remainder if Count is a multiple of
   // TripMultiple.  Such a remainder is never needed, and is unsafe if the loop




More information about the llvm-commits mailing list