diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-11-18 02:20:58 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-11-18 02:20:58 +0000 |
commit | 9a91e4a18ab4ca06af1f03a1b7c80e74dcac2e52 (patch) | |
tree | 19117c874afdf11f3554074d3f6b5f84a098c841 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 4db24cc49beb2fa6659997cbdd07f6b105ce6df7 (diff) | |
download | llvm-9a91e4a18ab4ca06af1f03a1b7c80e74dcac2e52.zip llvm-9a91e4a18ab4ca06af1f03a1b7c80e74dcac2e52.tar.gz llvm-9a91e4a18ab4ca06af1f03a1b7c80e74dcac2e52.tar.bz2 |
IndVarSimplify: Allow LFTR to fire more often
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.
Differential Revision: http://reviews.llvm.org/D6222
llvm-svn: 222213
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions