From 8197d268d74d24d1600b1628cc8c871725613956 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Wed, 10 Aug 2016 18:40:36 +0000 Subject: [PATCH] [Hexagon] Remove unused variants of LO/HI instructions llvm-svn: 278266 --- lib/Target/Hexagon/HexagonInstrInfo.td | 34 -------------------------- 1 file changed, 34 deletions(-) diff --git a/lib/Target/Hexagon/HexagonInstrInfo.td b/lib/Target/Hexagon/HexagonInstrInfo.td index 6be2a1baf54..6378be37525 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.td +++ b/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)]>;