ARM64: remove '#' from annotation of add/sub immediate
authorTim Northover <tnorthover@apple.com>
Thu, 22 May 2014 14:20:05 +0000 (14:20 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 22 May 2014 14:20:05 +0000 (14:20 +0000)
The full string used to be "// =#12" for example, which looks too
busy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209443 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp

index 48fba37146e567739f53a224bd0cee7347fc988d..529b450352eb83e6e1dc4734fcaf5bc2ac8b9422 100644 (file)
@@ -948,7 +948,7 @@ void ARM64InstPrinter::printAddSubImm(const MCInst *MI, unsigned OpNum,
       printShifter(MI, OpNum + 1, O);
 
     if (CommentStream)
-      *CommentStream << "=#" << (Val << Shift) << '\n';
+      *CommentStream << '=' << (Val << Shift) << '\n';
   } else {
     assert(MO.isExpr() && "Unexpected operand type!");
     O << *MO.getExpr();