Skip to content

Commit 0824811

Browse files
authored
[AMDGPU] Remove dead code in VOP1 tablegen (NFC) (#151932)
Remove dead class in VOP1Instructions.td.
1 parent 76e38ca commit 0824811

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

llvm/lib/Target/AMDGPU/VOP1Instructions.td

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,6 @@ class VOP1_DPP_Pseudo <string OpName, VOPProfile P, list<dag> pattern=[]> :
107107
VOP_DPP_Pseudo <OpName, P, pattern> {
108108
}
109109

110-
class getVOP1Pat <SDPatternOperator node, VOPProfile P> : LetDummies {
111-
list<dag> ret =
112-
!if(P.HasModifiers,
113-
[(set P.DstVT:$vdst, (node (P.Src0VT (VOP3Mods P.Src0VT:$src0, i32:$src0_modifiers))))],
114-
!if(P.HasOMod,
115-
[(set P.DstVT:$vdst, (node (P.Src0VT (VOP3OMods P.Src0VT:$src0,
116-
i1:$clamp, i32:$omod))))],
117-
[(set P.DstVT:$vdst, (node (P.Src0VT P.Src0RC32:$src0)))]
118-
)
119-
);
120-
}
121-
122110
multiclass VOP1Inst <string opName, VOPProfile P,
123111
SDPatternOperator node = null_frag, int VOPDOp = -1> {
124112
// We only want to set this on the basic, non-SDWA or DPP forms.

0 commit comments

Comments
 (0)