[llvm] r209443 - ARM64: remove '#' from annotation of add/sub immediate

Tim Northover tnorthover at apple.com
Thu May 22 07:20:05 PDT 2014


Author: tnorthover
Date: Thu May 22 09:20:05 2014
New Revision: 209443

URL: http://llvm.org/viewvc/llvm-project?rev=209443&view=rev
Log:
ARM64: remove '#' from annotation of add/sub immediate

The full string used to be "// =#12" for example, which looks too
busy.

Modified:
    llvm/trunk/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp

Modified: llvm/trunk/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp?rev=209443&r1=209442&r2=209443&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp Thu May 22 09:20:05 2014
@@ -948,7 +948,7 @@ void ARM64InstPrinter::printAddSubImm(co
       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();





More information about the llvm-commits mailing list