mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Disassembly of A8.6.59 LDR (literal) Encoding T1 (16-bit thumb instruction) should
print out ldr, not ldr.n. rdar://problem/9267772 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130008 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1652,6 +1652,11 @@ ARMDEBackend::populateInstruction(const CodeGenInstruction &CGI,
|
||||
Name == "t2ADDrSPi12" || Name == "t2SUBrSPi12")
|
||||
return false;
|
||||
|
||||
// FIXME: Use ldr.n to work around a Darwin assembler bug.
|
||||
// Introduce a workaround with tLDRpciDIS opcode.
|
||||
if (Name == "tLDRpci")
|
||||
return false;
|
||||
|
||||
// Ignore t2LDRDpci, prefer the generic t2LDRDi8, t2LDRD_PRE, t2LDRD_POST.
|
||||
if (Name == "t2LDRDpci")
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user