diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-11 17:41:34 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-11 17:41:34 +0000 |
commit | abb7b93eb9e21ea55a566b4f2c29b4fbd500906a (patch) | |
tree | df137bad5c2dae8388c5b1666ee2c95ad23b2e6f /llvm/lib/Object/IRObjectFile.cpp | |
parent | 787c2460c2da6e8aabb196a820ba5d14db23e528 (diff) | |
download | llvm-abb7b93eb9e21ea55a566b4f2c29b4fbd500906a.zip llvm-abb7b93eb9e21ea55a566b4f2c29b4fbd500906a.tar.gz llvm-abb7b93eb9e21ea55a566b4f2c29b4fbd500906a.tar.bz2 |
[SCEVExpander] Don't break SSA in replaceCongruentIVs
`SCEVExpander::replaceCongruentIVs` bypasses `hoistIVInc` if both the
original and the isomorphic increments are PHI nodes. Doing this can
break SSA if the isomorphic increment is not dominated by the original
increment. Get rid of the bypass, and let `hoistIVInc` do the right
thing.
Fixes PR27232 (compile time crash/hang).
llvm-svn: 269212
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions