summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-22 18:37:14 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-22 18:37:14 +0000
commite12c8ba05b8d6247fcf9d6ad3907af0f8f562124 (patch)
treebc2cbba310d141eac285c4a28fd088b0b6db77b8 /llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
parent6ebd728067316ac6f1d50dec521a7c6ec9feb77a (diff)
downloadbcm5719-llvm-e12c8ba05b8d6247fcf9d6ad3907af0f8f562124.tar.gz
bcm5719-llvm-e12c8ba05b8d6247fcf9d6ad3907af0f8f562124.zip
Add PrintSpecial() handling for in ARM MC instruction printer.
llvm-svn: 114563
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 528abfe4b26..64658a6d495 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -736,3 +736,11 @@ void ARMInstPrinter::printNEONModImmOperand(const MCInst *MI, unsigned OpNum,
uint64_t Val = ARM_AM::decodeNEONModImm(EncodedImm, EltBits);
O << "#0x" << utohexstr(Val);
}
+
+void ARMInstPrinter::PrintSpecial(const MCInst *MI, raw_ostream &O,
+ const char *Kind) {
+ if (strcmp(Kind, "comment") == 0)
+ O << "@";
+ else
+ abort();
+}
OpenPOWER on IntegriCloud