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

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 16:15:00 PST 2017


chandlerc accepted this revision.
chandlerc added a comment.
This revision is now accepted and ready to land.

I understand why this is a bit gross, but I dunno... I don't have any better ideas. Ship it? (Feel free to wait for mzolotukhin or others if you're not sure.)



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


https://reviews.llvm.org/D29156





More information about the llvm-commits mailing list