mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
When printing Thumb1 NOP ('mov r8, r8'), make sure to print the predicate.
rdar://10015134 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -168,6 +168,7 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O) {
|
|||||||
if (Opcode == ARM::tMOVr && MI->getOperand(0).getReg() == ARM::R8 &&
|
if (Opcode == ARM::tMOVr && MI->getOperand(0).getReg() == ARM::R8 &&
|
||||||
MI->getOperand(1).getReg() == ARM::R8) {
|
MI->getOperand(1).getReg() == ARM::R8) {
|
||||||
O << "\tnop";
|
O << "\tnop";
|
||||||
|
printPredicateOperand(MI, 2, O);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user