aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-10-07 17:38:31 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-10-07 17:38:31 +0000
commit0015e5a088b851dfd2405f05eb4c512f8089fc20 (patch)
tree7bff8bc54fa5687139a4ffd0795d67bc757dc349 /llvm/lib/IR/Module.cpp
parent4493b4000237688fb32225450ee4d400fba2d643 (diff)
downloadllvm-0015e5a088b851dfd2405f05eb4c512f8089fc20.zip
llvm-0015e5a088b851dfd2405f05eb4c512f8089fc20.tar.gz
llvm-0015e5a088b851dfd2405f05eb4c512f8089fc20.tar.bz2
[IndVars] Preserve LCSSA in `eliminateIdentitySCEV`
Summary: After r249211, SCEV can see through some LCSSA phis. Add a `replacementPreservesLCSSAForm` check before replacing uses of these phi nodes with a simplified use of the induction variable to avoid breaking LCSSA. Fixes 25047. Depends on D13460. Reviewers: atrick, hfinkel Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13461 llvm-svn: 249575
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions