[llvm] [AMDGPU][True16][MC] VOP3 profile in True16 format (PR #109031)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 07:29:29 PDT 2024


================
@@ -760,9 +756,14 @@ class OpSelBinOpClampPat<SDPatternOperator node,
   (inst $src0_modifiers, $src0, $src1_modifiers, $src1, DSTCLAMP.ENABLE, 0)
 >;
 
-def : OpSelBinOpClampPat<saddsat, V_ADD_I16_e64>;
-def : OpSelBinOpClampPat<ssubsat, V_SUB_I16_e64>;
-} // End SubtargetPredicate = isGFX9Plus
+let OtherPredicates = [isGFX9Plus], True16Predicate = NotHasTrue16BitInsts in {
----------------
Sisyph wrote:

isGFX9Plus should be SubtargetPredicate

https://github.com/llvm/llvm-project/pull/109031


More information about the llvm-commits mailing list