[PATCH] D65550: [AArch64] Do not emit '#' before immediates in inline asm

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 11:32:17 PDT 2019


nickdesaulniers added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp:495-496
   case MachineOperand::MO_Immediate: {
     int64_t Imm = MO.getImm();
-    O << '#' << Imm;
+    O << Imm;
     break;
----------------
These lines could probably be combined, but LGTM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65550/new/

https://reviews.llvm.org/D65550





More information about the llvm-commits mailing list