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
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 3880283..1462472 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -210,6 +210,11 @@
       // 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;