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:
b51a059
)
Stop emitting a redudant type check for complex pattern node.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 10 Dec 2005 01:57:33 +0000
(
01:57
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 10 Dec 2005 01:57:33 +0000
(
01:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24655
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelEmitter.cpp
b/utils/TableGen/DAGISelEmitter.cpp
index 3d64fa7bbc5b1eb0ab7169fbe7059e856f1d106c..a5947a7d50f8bc8c0b09d52393c66ea0a899b10f 100644
(file)
--- a/
utils/TableGen/DAGISelEmitter.cpp
+++ b/
utils/TableGen/DAGISelEmitter.cpp
@@
-2091,11
+2091,6
@@
public:
OS << " if (" << Prefix << ".Val->getValueType(0) != MVT::"
<< getName(Pat->getType()) << ") goto P" << PatternNo << "Fail;\n";
return true;
- } else if (Pat->isLeaf()) {
- if (NodeIsComplexPattern(Pat))
- OS << " if (" << Prefix << ".Val->getValueType(0) != MVT::"
- << getName(Pat->getType()) << ") goto P" << PatternNo << "Fail;\n";
- return false;
}
unsigned OpNo = (unsigned) NodeHasChain(Pat, ISE);