[clang] [llvm] [mlir] [AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic (PR #171069)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 14 00:21:59 PST 2025


================
@@ -1219,6 +1220,12 @@ static bool upgradeIntrinsicFunction1(Function *F, Function *&NewFn,
         break; // No other 'amdgcn.atomic.*'
       }
 
+      if (Name.starts_with("wmma.i32.16x16x64.iu8") && F->arg_size() == 7) {
----------------
arsenm wrote:

Swap checks (but also since this wasn't a removed intrinsic, I would expect you can still use intrinsic ID checks) 

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


More information about the llvm-commits mailing list