diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-17 20:49:12 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-17 20:49:12 +0000 |
commit | 39d77131a11f8271a44f6d2a9d4583713b851b35 (patch) | |
tree | b5099b5d54139bace3130e6b7896985f09b44b3d /llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | |
parent | 6c37ceb1821dda339196d2563a534e4686f04711 (diff) | |
download | bcm5719-llvm-39d77131a11f8271a44f6d2a9d4583713b851b35.tar.gz bcm5719-llvm-39d77131a11f8271a44f6d2a9d4583713b851b35.zip |
Before replacing a phi node with a different value, it
needs to be checked that this won't break LCSSA form.
Change the existing checking method to a more direct one:
rather than seeing if all predecessors belong to the loop,
check that the replacing value is either not in any loop or
is in a loop that contains the phi node.
llvm-svn: 119556
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp')
0 files changed, 0 insertions, 0 deletions