[PATCH] IndVarSimplify: Allow LFTR to fire more often
David Majnemer
david.majnemer at gmail.com
Tue Nov 11 15:31:38 PST 2014
Hi nicholas, nlewycky, atrick,
I added a pessimization in r217102 to prevent miscompiles when the
incremented induction variable was used in a comparison; it would be
poison.
Try to use the incremented induction variable more often when we can be
sure that the increment won't end in poison.
http://reviews.llvm.org/D6222
Files:
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/lftr-extend-const.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6222.16066.patch
Type: text/x-patch
Size: 2484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141111/5b745416/attachment.bin>
More information about the llvm-commits
mailing list