aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-22 17:37:48 +0000
committerDan Gohman <gohman@apple.com>2008-08-22 17:37:48 +0000
commit3b7753be2e899cf3a79835a8ff810e869035c87b (patch)
tree00df8ced7214c833c74f09e400edcbba4bcbf164 /lib/CodeGen/SelectionDAG/FastISel.cpp
parentf87d6c02f5ef43c2ed54d14e4cd137758401a947 (diff)
Add FastISel support for PHINodes. Machine PHI nodes
are not yet updated properly, but that's a separate task. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 388028334d..1462472ea4 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -210,6 +210,11 @@ FastISel::SelectInstructions(BasicBlock::iterator Begin,
// Something more complicated. Halt "fast" selection and bail.
return I;
}
+
+ case Instruction::PHI:
+ // PHI nodes are already emitted.
+ break;
+
default:
// Unhandled instruction. Halt "fast" selection and bail.
return I;