From a2292c0d34e6c9b0990f235f085cf6b9eb43411c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 22 Aug 2008 17:37:48 +0000 Subject: Add FastISel support for PHINodes. Machine PHI nodes are not yet updated properly, but that's a separate task. llvm-svn: 55187 --- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp') 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; -- cgit v1.2.3