[PATCH] D18712: [LoopUnroll] Fix the way we update DT after complete unrolling.

Michael Zolotukhin via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 14:54:29 PDT 2016


mzolotukhin closed this revision.
mzolotukhin added a comment.

Thanks, committed in r265605.

Michael


================
Comment at: lib/Transforms/Utils/LoopUnroll.cpp:564
@@ +563,3 @@
+          continue;
+        BasicBlock *PrevIDom = ChildDomNode->getIDom()->getBlock();
+        BasicBlock *NewIDom =
----------------
sanjoy wrote:
> Isn't `PrevIDom` the same as `BB`?
It is, thanks!


http://reviews.llvm.org/D18712





More information about the llvm-commits mailing list