From: Tim Northover Date: Sat, 29 Mar 2014 11:47:07 +0000 (+0000) Subject: ARM64: change format specifier to work on 32-bit targets X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=88ac45ffa7091f98c6cecd57d2589cc38c3522fc;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp b/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp index f8da2aa1148..6304a0fdf05 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); }