@@ -1130,7 +1130,7 @@ defm : ICMP_Pattern <COND_SGE, V_CMP_GE_I64_e64, i64>;
11301130defm : ICMP_Pattern <COND_SLT, V_CMP_LT_I64_e64, i64>;
11311131defm : ICMP_Pattern <COND_SLE, V_CMP_LE_I64_e64, i64>;
11321132
1133- let OtherPredicates = [HasTrue16BitInsts] in {
1133+ let True16Predicate = UseFakeTrue16Insts in {
11341134defm : ICMP_Pattern <COND_EQ, V_CMP_EQ_U16_fake16_e64, i16>;
11351135defm : ICMP_Pattern <COND_NE, V_CMP_NE_U16_fake16_e64, i16>;
11361136defm : ICMP_Pattern <COND_UGT, V_CMP_GT_U16_fake16_e64, i16>;
@@ -1141,9 +1141,9 @@ defm : ICMP_Pattern <COND_SGT, V_CMP_GT_I16_fake16_e64, i16>;
11411141defm : ICMP_Pattern <COND_SGE, V_CMP_GE_I16_fake16_e64, i16>;
11421142defm : ICMP_Pattern <COND_SLT, V_CMP_LT_I16_fake16_e64, i16>;
11431143defm : ICMP_Pattern <COND_SLE, V_CMP_LE_I16_fake16_e64, i16>;
1144- } // End OtherPredicates = [HasTrue16BitInsts]
1144+ } // End True16Predicate = UseFakeTrue16Insts
11451145
1146- let OtherPredicates = [ NotHasTrue16BitInsts] in {
1146+ let True16Predicate = NotHasTrue16BitInsts in {
11471147defm : ICMP_Pattern <COND_EQ, V_CMP_EQ_U16_e64, i16>;
11481148defm : ICMP_Pattern <COND_NE, V_CMP_NE_U16_e64, i16>;
11491149defm : ICMP_Pattern <COND_UGT, V_CMP_GT_U16_e64, i16>;
@@ -1154,7 +1154,7 @@ defm : ICMP_Pattern <COND_SGT, V_CMP_GT_I16_e64, i16>;
11541154defm : ICMP_Pattern <COND_SGE, V_CMP_GE_I16_e64, i16>;
11551155defm : ICMP_Pattern <COND_SLT, V_CMP_LT_I16_e64, i16>;
11561156defm : ICMP_Pattern <COND_SLE, V_CMP_LE_I16_e64, i16>;
1157- } // End OtherPredicates = [ NotHasTrue16BitInsts]
1157+ } // End True16Predicate = NotHasTrue16BitInsts
11581158
11591159multiclass FCMP_Pattern <PatFrags cond, Instruction inst, ValueType vt> {
11601160 let WaveSizePredicate = isWave64 in
@@ -1215,7 +1215,7 @@ defm : FCMP_Pattern <COND_UGE, V_CMP_NLT_F64_e64, f64>;
12151215defm : FCMP_Pattern <COND_ULT, V_CMP_NGE_F64_e64, f64>;
12161216defm : FCMP_Pattern <COND_ULE, V_CMP_NGT_F64_e64, f64>;
12171217
1218- let OtherPredicates = [HasTrue16BitInsts] in {
1218+ let True16Predicate = UseFakeTrue16Insts in {
12191219defm : FCMP_Pattern <COND_O, V_CMP_O_F16_fake16_e64, f16>;
12201220defm : FCMP_Pattern <COND_UO, V_CMP_U_F16_fake16_e64, f16>;
12211221defm : FCMP_Pattern <COND_OEQ, V_CMP_EQ_F16_fake16_e64, f16>;
@@ -1231,9 +1231,9 @@ defm : FCMP_Pattern <COND_UGT, V_CMP_NLE_F16_fake16_e64, f16>;
12311231defm : FCMP_Pattern <COND_UGE, V_CMP_NLT_F16_fake16_e64, f16>;
12321232defm : FCMP_Pattern <COND_ULT, V_CMP_NGE_F16_fake16_e64, f16>;
12331233defm : FCMP_Pattern <COND_ULE, V_CMP_NGT_F16_fake16_e64, f16>;
1234- } // End OtherPredicates = [HasTrue16BitInsts]
1234+ } // End True16Predicate = UseFakeTrue16Insts
12351235
1236- let OtherPredicates = [ NotHasTrue16BitInsts] in {
1236+ let True16Predicate = NotHasTrue16BitInsts in {
12371237defm : FCMP_Pattern <COND_O, V_CMP_O_F16_e64, f16>;
12381238defm : FCMP_Pattern <COND_UO, V_CMP_U_F16_e64, f16>;
12391239defm : FCMP_Pattern <COND_OEQ, V_CMP_EQ_F16_e64, f16>;
@@ -1249,7 +1249,7 @@ defm : FCMP_Pattern <COND_UGT, V_CMP_NLE_F16_e64, f16>;
12491249defm : FCMP_Pattern <COND_UGE, V_CMP_NLT_F16_e64, f16>;
12501250defm : FCMP_Pattern <COND_ULT, V_CMP_NGE_F16_e64, f16>;
12511251defm : FCMP_Pattern <COND_ULE, V_CMP_NGT_F16_e64, f16>;
1252- } // End OtherPredicates = [ NotHasTrue16BitInsts]
1252+ } // End True16Predicate = NotHasTrue16BitInsts
12531253
12541254//===----------------------------------------------------------------------===//
12551255// DPP Encodings
0 commit comments