[llvm] [AMDGPU][True16][MC] VOP3 profile in True16 format (PR #109031)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 6 23:59:35 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 {
----------------
cdevadas wrote:
```suggestion
let SubtargetPredicate = isGFX9Plus, True16Predicate = NotHasTrue16BitInsts in {
```
https://github.com/llvm/llvm-project/pull/109031
More information about the llvm-commits
mailing list