1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

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:
Jacob Baungard Hansen 2016-11-24 08:53:28 +00:00
parent 2d14d75a4e
commit 8766e146a7

View File

@ -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;
}