[PATCH] D13972: [JumpThreading] Use dominating conditions to prove implications

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 19:47:20 PDT 2015


sanjoy marked an inline comment as done.

================
Comment at: lib/Transforms/Scalar/JumpThreading.cpp:909
@@ +908,3 @@
+    }
+    CurrentBB = CurrentPred;
+    CurrentPred = CurrentBB->getSinglePredecessor();
----------------
Yes, I do need to update `CurrentPred`!  Fixed.


http://reviews.llvm.org/D13972





More information about the llvm-commits mailing list