[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:22:00 PST 2025


================
@@ -4504,6 +4511,21 @@ static Value *upgradeARMIntrinsicCall(StringRef Name, CallBase *CI, Function *F,
 //
 static Value *upgradeAMDGCNIntrinsicCall(StringRef Name, CallBase *CI,
                                          Function *F, IRBuilder<> &Builder) {
+  if (Name.starts_with("wmma.i32.16x16x64.iu8")) {
----------------
arsenm wrote:

Can you make this check based on intrinsic ID? The intrinsic name didn't change 

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


More information about the llvm-commits mailing list