summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen')
-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