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:
Johnny Chen
2011-04-22 19:12:43 +00:00
parent e7cf062537
commit 597fa65373
4 changed files with 24 additions and 3 deletions
+5
View File
@@ -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;