projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f4a8a
)
FastISel support for unreachable.
author
Dan Gohman
<gohman@apple.com>
Fri, 5 Sep 2008 01:08:41 +0000
(
01:08
+0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 5 Sep 2008 01:08:41 +0000
(
01:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55818
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 043691cf07149e2f96f06a68d5d5df4ef7d37bbf..64cc5a8abee4b8390f513ea414cd2c727d68f4b1 100644
(file)
--- 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;