[llvm-commits] [llvm] r94457 - /llvm/trunk/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
Johnny Chen
johnny.chen at apple.com
Mon Jan 25 14:13:11 PST 2010
Author: johnny
Date: Mon Jan 25 16:13:10 2010
New Revision: 94457
URL: http://llvm.org/viewvc/llvm-project?rev=94457&view=rev
Log:
Implemented ARMInstPrinter::printThumbS4ImmOperand().
Modified:
llvm/trunk/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp?rev=94457&r1=94456&r2=94457&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp Mon Jan 25 16:13:10 2010
@@ -353,6 +353,5 @@
}
void ARMInstPrinter::printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum) {
- // FIXME: remove this.
- abort();
+ O << "#" << MI->getOperand(OpNum).getImm() * 4;
}
More information about the llvm-commits
mailing list