From 4c9fd4a94814856aac22ba7de92cc0d00ceaba18 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Tue, 10 May 2016 00:31:23 +0000 Subject: [PATCH] Minor formatting fixes in LoopUnroll.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268995 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/LoopUnroll.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Transforms/Utils/LoopUnroll.cpp b/lib/Transforms/Utils/LoopUnroll.cpp index 10223c31bc1..77314d70903 100644 --- a/lib/Transforms/Utils/LoopUnroll.cpp +++ b/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 -- 2.11.0