diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-07-30 01:40:30 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-07-30 01:40:30 +0000 |
commit | dc744412ad03a41293ef65a34f083025b512bd69 (patch) | |
tree | 83f5f4ed74820a30f2b349cbc3feeb48bf94aaab | |
parent | c31d594228f9bcd555f2e7439f33023cba192c15 (diff) | |
download | bcm5719-llvm-dc744412ad03a41293ef65a34f083025b512bd69.tar.gz bcm5719-llvm-dc744412ad03a41293ef65a34f083025b512bd69.zip |
AMDGPU: Remove unused pattern
llvm-svn: 277258
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstrInfo.td | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.td b/llvm/lib/Target/AMDGPU/SIInstrInfo.td index ee6a5729861..b3ead2e2f6e 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.td +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.td @@ -2382,10 +2382,10 @@ multiclass VOPC_Helper <vopc op, string opName, list<dag> pat32, // Special case for class instructions which only have modifiers on // the 1st source operand. -multiclass VOPC_Class_Helper <vopc op, string opName, list<dag> pat32, +multiclass VOPC_Class_Helper <vopc op, string opName, list<dag> pat64, bit DefExec, string revOp, VOPProfile p, list<SchedReadWrite> sched> { - defm _e32 : VOPC_m <op, p.Ins32, p.Asm32, pat32, opName, DefExec, p, sched>; + defm _e32 : VOPC_m <op, p.Ins32, p.Asm32, [], opName, DefExec, p, sched>; defm _e64 : VOP3_C_m <op, (outs VOPDstS64:$sdst), p.Ins64, opName#p.Asm64, pat64, opName, p.HasModifiers, DefExec, revOp, sched>, @@ -2417,15 +2417,14 @@ multiclass VOPCInst <vopc op, string opName, multiclass VOPCClassInst <vopc op, string opName, VOPProfile P, bit DefExec = 0, list<SchedReadWrite> sched> : VOPC_Class_Helper < - op, opName, [], - !if(P.HasModifiers, - [(set i1:$sdst, - (AMDGPUfp_class (P.Src0VT (VOP3Mods0Clamp0OMod P.Src0VT:$src0, i32:$src0_modifiers)), P.Src1VT:$src1))], - [(set i1:$sdst, (AMDGPUfp_class P.Src0VT:$src0, P.Src1VT:$src1))]), + op, opName, + [(set i1:$sdst, + (AMDGPUfp_class + (P.Src0VT (VOP3Mods0Clamp0OMod P.Src0VT:$src0, i32:$src0_modifiers)), + P.Src1VT:$src1))], DefExec, opName, P, sched >; - multiclass VOPC_F32 <vopc op, string opName, PatLeaf cond = COND_NULL, string revOp = opName> : VOPCInst <op, opName, VOPC_I1_F32_F32, cond, revOp>; |