[llvm] [AMDGPU][True16][MC] VOP3 profile in True16 format (PR #109031)
    Brox Chen via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct  8 07:09:00 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 SubtargetPredicate = isGFX9Plus, True16Predicate = NotHasTrue16BitInsts in {
+  def : OpSelBinOpClampPat<saddsat, V_ADD_I16_e64>;
+  def : OpSelBinOpClampPat<ssubsat, V_SUB_I16_e64>;
+} // End OtherPredicates = [isGFX9Plus], True16Predicate = NotHasTrue16BitInsts
----------------
broxigarchen wrote:
done
https://github.com/llvm/llvm-project/pull/109031
    
    
More information about the llvm-commits
mailing list