mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-06 10:38:54 +00:00
Stop emitting a redudant type check for complex pattern node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b51a059b2c
commit
ba7fa0b5d4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user