From 50deb6d02876a87cdc5a8154ef68e49002ebfd04 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Tue, 10 May 2016 00:31:23 +0000 Subject: Minor formatting fixes in LoopUnroll.cpp. llvm-svn: 268995 --- llvm/lib/Transforms/Utils/LoopUnroll.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp') diff --git a/llvm/lib/Transforms/Utils/LoopUnroll.cpp b/llvm/lib/Transforms/Utils/LoopUnroll.cpp index 10223c31bc1..77314d70903 100644 --- a/llvm/lib/Transforms/Utils/LoopUnroll.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnroll.cpp @@ -284,15 +284,13 @@ bool llvm::UnrollLoop(Loop *L, unsigned Count, unsigned TripCount, 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 -- cgit v1.2.3