[PATCH] [IndVarSimplify] Widen signed loop compare instructions to enable additional optimizations.
David Peixotto
dpeixott at codeaurora.org
Fri Sep 12 12:29:43 PDT 2014
================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:931
@@ -928,1 +930,3 @@
+/// If the narrow use is a compare instruction, and the compare has a single use
+/// then widen the compare instruction (and possibly the other operand).
----------------
Does your comment about single use still apply? I don't see a check for it.
http://reviews.llvm.org/D5333
More information about the llvm-commits
mailing list