[llvm] [LLVM][NVPTX] Enable family specific support for a few intrinsics (PR #173268)

Pradeep Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 23 00:03:33 PST 2025


================
@@ -4857,12 +4857,16 @@ class WMMA_REGINFO<WMMA_REGS r, string op, string metadata = "", string kind = "
   // all fragments of the instruction are viable.
   list<Predicate> Predicates = !cond(
     !or(!eq(op, "mma.block_scale"),
-        !eq(op, "mma.sp.block_scale")) : [hasSM120a, hasPTX<88>],
+        !eq(op, "mma.sp.block_scale")) : [hasSM<120>, hasFamilySpecificFeatures],
----------------
schwarzschild-radius wrote:

Got it, Moved it inside a subtarget function

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


More information about the llvm-commits mailing list