mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
delegate the disassembly of t2ADR to the more generic t2ADDri12/t2SUBri12 instructions, and add a test case for that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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].
|
||||
|
Reference in New Issue
Block a user