mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[Hexagon] Remove unused variants of LO/HI instructions
llvm-svn: 278266
This commit is contained in:
parent
beb1a39bc6
commit
8197d268d7
@ -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…
Reference in New Issue
Block a user