commit | 087c8507e592bbbede1746f07bd44b28559e3684 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Sep 05 01:08:41 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Sep 05 01:08:41 2008 +0000 |
tree | 7c879b83e1b6cd0ae5a19cfb54cee1338c9662b2 | |
parent | c7f4a8a80cb7e8cf09495f4b60ae45734e7d5d98 [diff] [blame] |
FastISel support for unreachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55818 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 043691c..64cc5a8 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -366,6 +366,10 @@ return false; } + case Instruction::Unreachable: + // Nothing to emit. + return true; + case Instruction::PHI: // PHI nodes are already emitted. return true;