forked from OSchip/llvm-project
ARM64: change format specifier to work on 32-bit targets
Existing tests were failing. llvm-svn: 205092
This commit is contained in:
parent
7b7a67c5c8
commit
2011df293d
|
@ -1424,5 +1424,5 @@ void ARM64InstPrinter::printSIMDType10Operand(const MCInst *MI, unsigned OpNo,
|
||||||
raw_ostream &O) {
|
raw_ostream &O) {
|
||||||
unsigned RawVal = MI->getOperand(OpNo).getImm();
|
unsigned RawVal = MI->getOperand(OpNo).getImm();
|
||||||
uint64_t Val = ARM64_AM::decodeAdvSIMDModImmType10(RawVal);
|
uint64_t Val = ARM64_AM::decodeAdvSIMDModImmType10(RawVal);
|
||||||
O << format("#%#016lx", Val);
|
O << format("#%#016llx", Val);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue