diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-22 19:12:43 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-22 19:12:43 +0000 |
commit | 597fa65373b824c840212cf238a73ae13dc35494 (patch) | |
tree | 9e88dcdb8cb5f0176b5b6f7231776f70374f9f4e /utils | |
parent | e7cf062537e898f830565db5dbf99ae9c928399e (diff) | |
download | external_llvm-597fa65373b824c840212cf238a73ae13dc35494.zip external_llvm-597fa65373b824c840212cf238a73ae13dc35494.tar.gz external_llvm-597fa65373b824c840212cf238a73ae13dc35494.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/ARMDecoderEmitter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/ARMDecoderEmitter.cpp b/utils/TableGen/ARMDecoderEmitter.cpp index ed44f82..62bd1c6 100644 --- a/utils/TableGen/ARMDecoderEmitter.cpp +++ b/utils/TableGen/ARMDecoderEmitter.cpp @@ -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; |