From 2011df293d25324001a67e670e2a0bc9a954deea Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Sat, 29 Mar 2014 11:47:07 +0000 Subject: [PATCH] ARM64: change format specifier to work on 32-bit targets Existing tests were failing. llvm-svn: 205092 --- llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp b/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp index f8da2aa11485..6304a0fdf055 100644 --- a/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp +++ b/llvm/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); }