mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 08:46:37 +00:00
Make negative immediates in patterns work correctly, silence some warnings
building the itanium backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25d0a88eb8
commit
9d1a02345c
@ -1592,7 +1592,7 @@ void DAGISelEmitter::EmitMatchForPattern(TreePatternNode *N,
|
||||
} else if (IntInit *II = dynamic_cast<IntInit*>(Child->getLeafValue())) {
|
||||
OS << " if (!isa<ConstantSDNode>(" << RootName << i << ") ||\n"
|
||||
<< " cast<ConstantSDNode>(" << RootName << i
|
||||
<< ")->getValue() != " << II->getValue() << ")\n"
|
||||
<< ")->getSignExtended() != " << II->getValue() << ")\n"
|
||||
<< " goto P" << PatternNo << "Fail;\n";
|
||||
} else {
|
||||
Child->dump();
|
||||
|
Loading…
Reference in New Issue
Block a user