diff options
Diffstat (limited to 'lib/Target/AMDGPU/VOPCInstructions.td')
| -rw-r--r-- | lib/Target/AMDGPU/VOPCInstructions.td | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/Target/AMDGPU/VOPCInstructions.td b/lib/Target/AMDGPU/VOPCInstructions.td index b636fc9be431b..146870e215313 100644 --- a/lib/Target/AMDGPU/VOPCInstructions.td +++ b/lib/Target/AMDGPU/VOPCInstructions.td @@ -607,9 +607,7 @@ defm V_CMPX_CLASS_F16 : VOPCX_CLASS_F16 <"v_cmpx_class_f16">; // V_ICMPIntrinsic Pattern. //===----------------------------------------------------------------------===// -let Predicates = [isGCN] in { - -class ICMP_Pattern <PatLeaf cond, Instruction inst, ValueType vt> : Pat < +class ICMP_Pattern <PatLeaf cond, Instruction inst, ValueType vt> : GCNPat < (AMDGPUsetcc vt:$src0, vt:$src1, cond), (inst $src0, $src1) >; @@ -636,7 +634,7 @@ def : ICMP_Pattern <COND_SGE, V_CMP_GE_I64_e64, i64>; def : ICMP_Pattern <COND_SLT, V_CMP_LT_I64_e64, i64>; def : ICMP_Pattern <COND_SLE, V_CMP_LE_I64_e64, i64>; -class FCMP_Pattern <PatLeaf cond, Instruction inst, ValueType vt> : Pat < +class FCMP_Pattern <PatLeaf cond, Instruction inst, ValueType vt> : GCNPat < (i64 (AMDGPUsetcc (vt (VOP3Mods vt:$src0, i32:$src0_modifiers)), (vt (VOP3Mods vt:$src1, i32:$src1_modifiers)), cond)), (inst $src0_modifiers, $src0, $src1_modifiers, $src1, @@ -671,8 +669,6 @@ def : FCMP_Pattern <COND_UGE, V_CMP_NLT_F64_e64, f64>; def : FCMP_Pattern <COND_ULT, V_CMP_NGE_F64_e64, f64>; def : FCMP_Pattern <COND_ULE, V_CMP_NGT_F64_e64, f64>; -} // End Predicates = [isGCN] - //===----------------------------------------------------------------------===// // Target //===----------------------------------------------------------------------===// |
