aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-18 02:20:58 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-18 02:20:58 +0000
commit9a91e4a18ab4ca06af1f03a1b7c80e74dcac2e52 (patch)
tree19117c874afdf11f3554074d3f6b5f84a098c841 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parent4db24cc49beb2fa6659997cbdd07f6b105ce6df7 (diff)
downloadllvm-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