mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
There are two pseudos in this case that are Thumb mode, not one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127840 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b12a754cce
commit
670350bb78
@ -894,7 +894,7 @@ bool ARMExpandPseudo::ExpandMI(MachineBasicBlock &MBB,
|
|||||||
const MachineOperand &MO1 = MI.getOperand(1);
|
const MachineOperand &MO1 = MI.getOperand(1);
|
||||||
const GlobalValue *GV = MO1.getGlobal();
|
const GlobalValue *GV = MO1.getGlobal();
|
||||||
unsigned TF = MO1.getTargetFlags();
|
unsigned TF = MO1.getTargetFlags();
|
||||||
bool isARM = Opcode != ARM::t2MOV_ga_pcrel;
|
bool isARM = (Opcode != ARM::t2MOV_ga_pcrel && Opcode != ARM::t2MOV_ga_dyn);
|
||||||
bool isPIC = (Opcode != ARM::MOV_ga_dyn && Opcode != ARM::t2MOV_ga_dyn);
|
bool isPIC = (Opcode != ARM::MOV_ga_dyn && Opcode != ARM::t2MOV_ga_dyn);
|
||||||
unsigned LO16Opc = isARM ? ARM::MOVi16_ga_pcrel : ARM::t2MOVi16_ga_pcrel;
|
unsigned LO16Opc = isARM ? ARM::MOVi16_ga_pcrel : ARM::t2MOVi16_ga_pcrel;
|
||||||
unsigned HI16Opc = isARM ? ARM::MOVTi16_ga_pcrel : ARM::t2MOVTi16_ga_pcrel;
|
unsigned HI16Opc = isARM ? ARM::MOVTi16_ga_pcrel : ARM::t2MOVTi16_ga_pcrel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user