[PATCH] D29156: [LoopUnroll] Properly update loopinfo for runtime unrolling by 2

Michael Kuperstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 16:26:23 PST 2017


mkuper added a comment.

Ok, thanks. 
If two people think it's good enough, it's going on. @mzolotukhin , feel free to suggest improvements post-commit. :-)



================
Comment at: lib/Transforms/Utils/LoopUnrollRuntime.cpp:328
+    if (CreateRemainderLoop || LI->getLoopFor(*BB) != L || ParentLoop)
+        addClonedBlockToLoopInfo(*BB, NewBB, LI, NewLoops);
 
----------------
chandlerc wrote:
> indent looks off here? maybe just phab...
No, not phab, my bad, thanks.


https://reviews.llvm.org/D29156





More information about the llvm-commits mailing list