mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
Both Darwin as and GNU as violate ARM docs wrt printing of addrmode6
alignment imm (in the same way). Fix asmprinting for non-darwin platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a085c3493
commit
bce3dbd9be
@ -637,11 +637,8 @@ void ARMAsmPrinter::printAddrMode6Operand(const MachineInstr *MI, int Op) {
|
||||
|
||||
O << "[" << getRegisterName(MO1.getReg());
|
||||
if (MO4.getImm()) {
|
||||
if (Subtarget->isTargetDarwin())
|
||||
O << ", :";
|
||||
else
|
||||
O << " @";
|
||||
O << MO4.getImm();
|
||||
// FIXME: Both darwin as and GNU as violate ARM docs here.
|
||||
O << ", :" << MO4.getImm();
|
||||
}
|
||||
O << "]";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user