[clang] [llvm] [mlir] [AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic (PR #171069)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 18 21:12:11 PST 2025
================
@@ -1665,6 +1665,13 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned BuiltinID,
if (AppendFalseForOpselArg)
Args.push_back(Builder.getFalse());
+ if (BuiltinID == AMDGPU::BI__builtin_amdgcn_wmma_i32_16x16x64_iu8) {
+ if (Args.size() == 7)
----------------
shiltian wrote:
I'm not sure if that's a good idea to make it an optional argument. They are new builtins so I think we just want them to be a regular `i1` argument. In that case, you don't need any special handling here and other places.
https://github.com/llvm/llvm-project/pull/171069
More information about the llvm-commits
mailing list