[PATCH] D16570: [IndVarSimplify] Rewrite loop exit values with their initial values from loop preheader

Chen Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 22:24:33 PST 2016

chenli added inline comments.

Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:728
@@ +727,3 @@
+        // Additional support might be added in the future.
+        if (IncomingBB != L->getHeader())
+          continue;
This is the fix to the problem mentioned in summary.


More information about the llvm-commits mailing list