mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[XCore] Update LDAP to use pcrel_imm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
24aeab3d8a
commit
fae63389d9
@ -658,14 +658,14 @@ defm KRESTSP : FU6_LU6_np<0b0111101111, "krestsp">;
|
||||
// U10
|
||||
|
||||
let Defs = [R11], isReMaterializable = 1, neverHasSideEffects = 1 in
|
||||
def LDAPF_u10 : _FU10<0b110110, (outs), (ins i32imm:$a), "ldap r11, $a", []>;
|
||||
def LDAPF_u10 : _FU10<0b110110, (outs), (ins pcrel_imm:$a), "ldap r11, $a", []>;
|
||||
|
||||
let Defs = [R11], isReMaterializable = 1 in
|
||||
def LDAPF_lu10 : _FLU10<0b110110, (outs), (ins i32imm:$a), "ldap r11, $a",
|
||||
def LDAPF_lu10 : _FLU10<0b110110, (outs), (ins pcrel_imm:$a), "ldap r11, $a",
|
||||
[(set R11, (pcrelwrapper tglobaladdr:$a))]>;
|
||||
|
||||
let Defs = [R11], isReMaterializable = 1, isCodeGenOnly = 1 in
|
||||
def LDAPF_lu10_ba : _FLU10<0b110110, (outs), (ins i32imm:$a), "ldap r11, $a",
|
||||
def LDAPF_lu10_ba : _FLU10<0b110110, (outs), (ins pcrel_imm:$a), "ldap r11, $a",
|
||||
[(set R11, (pcrelwrapper tblockaddress:$a))]>;
|
||||
|
||||
let isCall=1,
|
||||
|
Loading…
Reference in New Issue
Block a user