forked from OSchip/llvm-project
TableGen: Allow signed immediates for instruction aliases
Patch by Daniel Cederman. Reviewers: stoklund, arsenm Subscribers: arsenm, llvm-commits Differential Revision: https://reviews.llvm.org/D27046 llvm-svn: 287856
This commit is contained in:
parent
f23b995f78
commit
a8cbbdc9b6
|
@ -879,7 +879,7 @@ void AsmWriterEmitter::EmitPrintAliasInstruction(raw_ostream &O) {
|
|||
IAP.addCond(Op + ".isImm()");
|
||||
|
||||
Cond = Op + ".getImm() == " +
|
||||
llvm::utostr(CGA.ResultOperands[i].getImm());
|
||||
llvm::itostr(CGA.ResultOperands[i].getImm());
|
||||
IAP.addCond(Cond);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue