ARM64: change format specifier to work on 32-bit targets
authorTim Northover <tnorthover@apple.com>
Sat, 29 Mar 2014 11:47:07 +0000 (11:47 +0000)
committerTim Northover <tnorthover@apple.com>
Sat, 29 Mar 2014 11:47:07 +0000 (11:47 +0000)
Existing tests were failing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205092 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp

index f8da2aa114854d742f92c185fc60924687f3f9e3..6304a0fdf05504ad43619094d5dd3d588149632b 100644 (file)
@@ -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);
 }