mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Stop emitting a redudant type check for complex pattern node.
llvm-svn: 24655
This commit is contained in:
parent
56f62789d7
commit
c8ebe5f6eb
@ -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…
Reference in New Issue
Block a user