[PATCH] D27046: TableGen: Allow signed immediates for instruction aliases

Jacob Baungard Hansen via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 01:03:32 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL287856: TableGen: Allow signed immediates for instruction aliases (authored by jacob_hansen).

Changed prior to commit:
  https://reviews.llvm.org/D27046?vs=79071&id=79190#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D27046

Files:
  llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp


Index: llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
===================================================================
--- llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
+++ llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp
@@ -879,7 +879,7 @@
           IAP.addCond(Op + ".isImm()");
 
           Cond = Op + ".getImm() == " +
-                 llvm::utostr(CGA.ResultOperands[i].getImm());
+                 llvm::itostr(CGA.ResultOperands[i].getImm());
           IAP.addCond(Cond);
           break;
         }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27046.79190.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161124/3ba035d8/attachment.bin>


More information about the llvm-commits mailing list