diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-26 21:44:37 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-26 21:44:37 +0000 |
commit | 45f3929ef0dcdf281a10f23e031ffaba7664e7c0 (patch) | |
tree | c73489e41abf9edfa1ff21a7796627ef2b51d276 /lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | |
parent | 85bfd3b023d4d70936006eadd86588b03e5f40c0 (diff) |
ARM rot_imm printing adjustment.
Allow the rot_imm operand to be optional. This sets the stage for refactoring
away the "rr" versions from the multiclasses and replacing them with Pat<>s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp')
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index 30ec4981b7..fe8459e2a8 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp @@ -841,7 +841,7 @@ void ARMInstPrinter::printRotImmOperand(const MCInst *MI, unsigned OpNum, unsigned Imm = MI->getOperand(OpNum).getImm(); if (Imm == 0) return; - O << "ror #"; + O << ", ror #"; switch (Imm) { default: assert (0 && "illegal ror immediate!"); case 1: O << "8\n"; break; |