diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 043691cf071..64cc5a8abee 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -366,6 +366,10 @@ FastISel::SelectInstruction(Instruction *I) { return false; } + case Instruction::Unreachable: + // Nothing to emit. + return true; + case Instruction::PHI: // PHI nodes are already emitted. return true;