[Mlir-commits] [mlir] [mlir][amdgpu] Add workgroup_mask to MakeDmaDescriptorOp (PR #171103)
Tim Gymnich
llvmlistbot at llvm.org
Mon Dec 8 06:21:18 PST 2025
================
@@ -768,6 +768,11 @@ LogicalResult MakeDmaDescriptorOp::verify() {
return emitOpError("atomic barrier address must be in LDS.");
}
+ if (getEarlyTimeout() != nullptr && getWorkgroupMask() == nullptr) {
+ return emitOpError(
+ "early timeout does not apply when workgroup_mask is not set.");
+ }
+
----------------
tgymnich wrote:
> It would also be nice to have this tested in invalid.mlir. But I can add it in the follow up PRs.
The parse does not allow for this.
https://github.com/llvm/llvm-project/pull/171103
More information about the Mlir-commits
mailing list