Make negative immediates in patterns work correctly, silence some warnings
building the itanium backend. llvm-svn: 24095
This commit is contained in:
parent
7abaf906e2
commit
d91df9d941
|
@ -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