[llvm-commits] [llvm] r55818 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Dan Gohman
gohman at apple.com
Thu Sep 4 18:08:42 PDT 2008
Author: djg
Date: Thu Sep 4 20:08:41 2008
New Revision: 55818
URL: http://llvm.org/viewvc/llvm-project?rev=55818&view=rev
Log:
FastISel support for unreachable.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=55818&r1=55817&r2=55818&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Thu Sep 4 20:08:41 2008
@@ -366,6 +366,10 @@
return false;
}
+ case Instruction::Unreachable:
+ // Nothing to emit.
+ return true;
+
case Instruction::PHI:
// PHI nodes are already emitted.
return true;
More information about the llvm-commits
mailing list