diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-10 18:40:36 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-10 18:40:36 +0000 |
| commit | c9c2bba621ae8cd4e11ee7fa2926f1eb3dc9e692 (patch) | |
| tree | 30f3bf4b8e762f9dc89953434bd6b73bae972581 /llvm/lib | |
| parent | 71b1ca1be4aa0635723a6a00b267fe73ba719d95 (diff) | |
| download | bcm5719-llvm-c9c2bba621ae8cd4e11ee7fa2926f1eb3dc9e692.tar.gz bcm5719-llvm-c9c2bba621ae8cd4e11ee7fa2926f1eb3dc9e692.zip | |
[Hexagon] Remove unused variants of LO/HI instructions
llvm-svn: 278266
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonInstrInfo.td | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonInstrInfo.td b/llvm/lib/Target/Hexagon/HexagonInstrInfo.td index 6be2a1baf54..6378be37525 100644 --- a/llvm/lib/Target/Hexagon/HexagonInstrInfo.td +++ b/llvm/lib/Target/Hexagon/HexagonInstrInfo.td @@ -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)]>; |

