From 087c8507e592bbbede1746f07bd44b28559e3684 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 5 Sep 2008 01:08:41 +0000 Subject: [PATCH] FastISel support for unreachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55818 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/FastISel.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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;