aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2018-11-23 07:56:47 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2018-11-23 07:56:47 +0000
commitcb8e24033472088c401721b77c9542ce55e533a2 (patch)
treeaa1fa4ad5f5f59d25d975f614aec3ca6d2550a21 /llvm/lib/CodeGen/MachineOperand.cpp
parenta10c1c7412af9b40c984d4960a07d4190526bea0 (diff)
downloadllvm-cb8e24033472088c401721b77c9542ce55e533a2.zip
llvm-cb8e24033472088c401721b77c9542ce55e533a2.tar.gz
llvm-cb8e24033472088c401721b77c9542ce55e533a2.tar.bz2
[LoopSimplifyCFG] Don't delete LCSSA Phis
When removing edges, we also update Phi inputs and may end up removing a Phi if it has only one input. We should not do it for edges that leave the current loop because these Phis are LCSSA Phis and need to be preserved. Thanks @dmgreen for finding this! Differential Revision: https://reviews.llvm.org/D54841 llvm-svn: 347484
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions