summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-03-29 11:47:07 +0000
committerTim Northover <tnorthover@apple.com>2014-03-29 11:47:07 +0000
commit88ac45ffa7091f98c6cecd57d2589cc38c3522fc (patch)
tree2d288a589ab9767e467c4cf13501c4b6245347ac
parent3734a337e9dc217e929e13e6f66be2be2e77c953 (diff)
downloadllvm-88ac45ffa7091f98c6cecd57d2589cc38c3522fc.tar.gz
llvm-88ac45ffa7091f98c6cecd57d2589cc38c3522fc.tar.bz2
llvm-88ac45ffa7091f98c6cecd57d2589cc38c3522fc.tar.xz
ARM64: change format specifier to work on 32-bit targets
Existing tests were failing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205092 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp b/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
index f8da2aa114..6304a0fdf0 100644
--- a/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
+++ b/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
@@ -1424,5 +1424,5 @@ void ARM64InstPrinter::printSIMDType10Operand(const MCInst *MI, unsigned OpNo,
raw_ostream &O) {
unsigned RawVal = MI->getOperand(OpNo).getImm();
uint64_t Val = ARM64_AM::decodeAdvSIMDModImmType10(RawVal);
- O << format("#%#016lx", Val);
+ O << format("#%#016llx", Val);
}