mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-27 07:12:06 +00:00
[Hexagon] Remove unused variants of LO/HI instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c04b985f53
commit
089ce6a3f8
@ -4765,40 +4765,6 @@ let isAsmParserOnly = 1 in {
|
||||
def HI : REG_IMMED<".h", 0b0, 0b010, 0b1>;
|
||||
}
|
||||
|
||||
let isMoveImm = 1, isCodeGenOnly = 1 in
|
||||
def LO_PIC : ALU32_ri<(outs IntRegs:$dst), (ins bblabel:$label),
|
||||
"$dst.l = #LO($label@GOTREL)",
|
||||
[]>;
|
||||
|
||||
let isMoveImm = 1, isCodeGenOnly = 1 in
|
||||
def HI_PIC : ALU32_ri<(outs IntRegs:$dst), (ins bblabel:$label),
|
||||
"$dst.h = #HI($label@GOTREL)",
|
||||
[]>;
|
||||
|
||||
let isReMaterializable = 1, isMoveImm = 1,
|
||||
isCodeGenOnly = 1, hasSideEffects = 0 in
|
||||
def HI_GOT : ALU32_ri<(outs IntRegs:$dst), (ins globaladdress:$global),
|
||||
"$dst.h = #HI($global@GOT)",
|
||||
[]>;
|
||||
|
||||
let isReMaterializable = 1, isMoveImm = 1,
|
||||
isCodeGenOnly = 1, hasSideEffects = 0 in
|
||||
def LO_GOT : ALU32_ri<(outs IntRegs:$dst), (ins globaladdress:$global),
|
||||
"$dst.l = #LO($global@GOT)",
|
||||
[]>;
|
||||
|
||||
let isReMaterializable = 1, isMoveImm = 1,
|
||||
isCodeGenOnly = 1, hasSideEffects = 0 in
|
||||
def HI_GOTREL : ALU32_ri<(outs IntRegs:$dst), (ins globaladdress:$global),
|
||||
"$dst.h = #HI($global@GOTREL)",
|
||||
[]>;
|
||||
|
||||
let isReMaterializable = 1, isMoveImm = 1,
|
||||
isCodeGenOnly = 1, hasSideEffects = 0 in
|
||||
def LO_GOTREL : ALU32_ri<(outs IntRegs:$dst), (ins globaladdress:$global),
|
||||
"$dst.l = #LO($global@GOTREL)",
|
||||
[]>;
|
||||
|
||||
let isReMaterializable = 1, isMoveImm = 1, isAsmParserOnly = 1 in {
|
||||
def CONST32 : CONSTLDInst<(outs IntRegs:$Rd), (ins i32imm:$v),
|
||||
"$Rd = CONST32(#$v)", [(set I32:$Rd, imm:$v)]>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user