From b4ed3d0bd36ece1ce8b3888a1de503b3a95b79bd Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Wed, 4 Feb 2015 18:11:32 +0000 Subject: [PATCH] [Hexagon] Adding missing isCodeGenOnly = 0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228160 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/HexagonInstrInfoV4.td | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/Target/Hexagon/HexagonInstrInfoV4.td b/lib/Target/Hexagon/HexagonInstrInfoV4.td index 86f2729287b..bfe01705997 100644 --- a/lib/Target/Hexagon/HexagonInstrInfoV4.td +++ b/lib/Target/Hexagon/HexagonInstrInfoV4.td @@ -767,7 +767,7 @@ class T_ST_absset_nv MajOp, let Inst{5-0} = addr; } -let mayStore = 1, addrMode = AbsoluteSet in { +let mayStore = 1, addrMode = AbsoluteSet, isCodeGenOnly = 0 in { def S4_storerbnew_ap : T_ST_absset_nv <"memb", "STrib", 0b00, ByteAccess>; def S4_storerhnew_ap : T_ST_absset_nv <"memh", "STrih", 0b01, HalfWordAccess>; def S4_storerinew_ap : T_ST_absset_nv <"memw", "STriw", 0b10, WordAccess>; @@ -802,6 +802,7 @@ class T_StoreAbsReg ; def S4_storerh_ur : T_StoreAbsReg <"memh", "STrih", IntRegs, 0b010, HalfWordAccess>; @@ -810,6 +811,7 @@ def S4_storerf_ur : T_StoreAbsReg <"memh", "STrif", IntRegs, 0b011, def S4_storeri_ur : T_StoreAbsReg <"memw", "STriw", IntRegs, 0b100, WordAccess>; def S4_storerd_ur : T_StoreAbsReg <"memd", "STrid", DoubleRegs, 0b110, DoubleWordAccess>; +} let AddedComplexity = 40 in multiclass T_StoreAbsReg_Pats MajOp, let Inst{5-0} = src3; } +let isCodeGenOnly = 0 in { def S4_storerbnew_ur : T_StoreAbsRegNV <"memb", "STrib", 0b00, ByteAccess>; def S4_storerhnew_ur : T_StoreAbsRegNV <"memh", "STrih", 0b01, HalfWordAccess>; def S4_storerinew_ur : T_StoreAbsRegNV <"memw", "STriw", 0b10, WordAccess>; +} //===----------------------------------------------------------------------===// // Template classes for the non-predicated store instructions with @@ -1027,7 +1031,8 @@ multiclass ST_Idxd_shl_nv , ST_Idxd_shl_nv<"memb", "STrib", IntRegs, 0b00>;