aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-03 21:55:12 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-03 21:55:12 +0000
commit7e2b9882b147bf9c26faa7b04b56884ec444bd64 (patch)
tree23aee4ea62f1aa2200f2f7c7e08d3d842469a220 /llvm/lib/CodeGen/StackMaps.cpp
parent542616d47c5533a338e54db76dc99765410065ef (diff)
downloadllvm-7e2b9882b147bf9c26faa7b04b56884ec444bd64.zip
llvm-7e2b9882b147bf9c26faa7b04b56884ec444bd64.tar.gz
llvm-7e2b9882b147bf9c26faa7b04b56884ec444bd64.tar.bz2
InstCombine: Remove infinite loop caused by FoldOpIntoPhi
FoldOpIntoPhi could create an infinite loop if the PHI could potentially reach a BB it was considering inserting instructions into. The instructions it would insert would eventually lead to other combines firing which would, again, lead to FoldOpIntoPhi firing. The solution is to handicap FoldOpIntoPhi so that it doesn't attempt to insert instructions that the PHI might reach. This fixes PR21377. llvm-svn: 221187
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions