[llvm-branch-commits] [clang] [llvm] [AMDGPU] Add intrinsics and builtins for gfx13 exclusive scan (PR #226078)
Shilei Tian via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Sep 24 05:54:31 PDT 2026
================
@@ -2136,32 +2136,34 @@ class VOP_EXCLUSIVE_SCAN_fake16<VOPProfile p, VOP3Features f = VOP3_OPSEL_ONLY>
}
// Derives the asm name from the record name.
-multiclass V_EXCLUSIVE_SCAN<VOPProfile p, VOP3Features f = VOP3_REGULAR> {
- defm NAME : VOP3Inst<!tolower(NAME), VOP_EXCLUSIVE_SCAN<p, f>>;
+multiclass V_EXCLUSIVE_SCAN<VOPProfile p, SDPatternOperator node,
+ VOP3Features f = VOP3_REGULAR> {
+ defm NAME : VOP3Inst<!tolower(NAME), VOP_EXCLUSIVE_SCAN<p, f>, node>;
}
// Generates _t16 and _fake16 variants with correctly suffixed asm/PseudoInstr names.
-multiclass V_EXCLUSIVE_SCAN_t16<VOPProfile p, VOP3Features f = VOP3_OPSEL_ONLY> {
+multiclass V_EXCLUSIVE_SCAN_t16<VOPProfile p, SDPatternOperator node,
+ VOP3Features f = VOP3_OPSEL_ONLY> {
----------------
shiltian wrote:
same here
https://github.com/llvm/llvm-project/pull/226078
More information about the llvm-branch-commits
mailing list