summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commita2292c0d34e6c9b0990f235f085cf6b9eb43411c (patch)
tree184c0bf8019e280393c04961bf1bb2601d6bcd9f /llvm/lib
parented86f689cbf6cdc42a161dd36e428fa3504572ff (diff)
downloadbcm5719-llvm-a2292c0d34e6c9b0990f235f085cf6b9eb43411c.tar.gz
bcm5719-llvm-a2292c0d34e6c9b0990f235f085cf6b9eb43411c.zip
Add FastISel support for PHINodes. Machine PHI nodes
are not yet updated properly, but that's a separate task. llvm-svn: 55187
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 388028334d5..1462472ea4a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud