mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
delegate the disassembly of t2ADR to the more generic t2ADDri12/t2SUBri12 instructions, and add a test case for that.
llvm-svn: 128249
This commit is contained in:
parent
4a55a733b8
commit
a4f73530a5
@ -148,3 +148,6 @@
|
||||
|
||||
# CHECK: ldmia r5!, {r0, r1, r2, r3, r4}
|
||||
0x1f 0xcd
|
||||
|
||||
# CHECK: addw r0, pc, #1050
|
||||
0x0f 0xf2 0x1a 0x40
|
||||
|
@ -1632,6 +1632,11 @@ ARMDEBackend::populateInstruction(const CodeGenInstruction &CGI,
|
||||
if (Name == "tADR")
|
||||
return false;
|
||||
|
||||
// Delegate t2ADR disassembly to the more generic t2ADDri12/t2SUBri12
|
||||
// instructions.
|
||||
if (Name == "t2ADR")
|
||||
return false;
|
||||
|
||||
// Ignore tADDrSP, tADDspr, and tPICADD, prefer the generic tADDhirr.
|
||||
// Ignore t2SUBrSPs, prefer the t2SUB[S]r[r|s].
|
||||
// Ignore t2ADDrSPs, prefer the t2ADD[S]r[r|s].
|
||||
|
Loading…
Reference in New Issue
Block a user