[Mlir-commits] [mlir] [mlir][gpu] Guard negative workgroup_attributions in GPU ops (PR #174409)
Prathamesh Tagore
llvmlistbot at llvm.org
Sat Jan 10 00:20:11 PST 2026
================
@@ -1814,7 +1822,14 @@ LogicalResult GPUFuncOp::verifyBody() {
if (empty())
return emitOpError() << "expected body with at least one block";
unsigned numFuncArguments = getNumArguments();
- unsigned numWorkgroupAttributions = getNumWorkgroupAttributions();
+ int64_t numWorkgroupAttributions = 0;
----------------
meshtag wrote:
This can be wrapped in a single function, if that seems better. It is trivial though.
https://github.com/llvm/llvm-project/pull/174409
More information about the Mlir-commits
mailing list