diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-05 01:08:41 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-05 01:08:41 +0000 |
commit | ea56bdde34884f1f1ded1860a2bd3428f50aaa73 (patch) | |
tree | d0b1444ac5b78203df3f44818655fcb2e2ded3ae /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 5b4a9f4a695ce82869f60dad527c77eb1d1d6501 (diff) | |
download | bcm5719-llvm-ea56bdde34884f1f1ded1860a2bd3428f50aaa73.tar.gz bcm5719-llvm-ea56bdde34884f1f1ded1860a2bd3428f50aaa73.zip |
FastISel support for unreachable.
llvm-svn: 55818
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 043691cf071..64cc5a8abee 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/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; |