[Mlir-commits] [mlir] [mlir][gpu] Add field to mark asynchronous side effects (PR #72013)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 13 10:56:39 PST 2023


================
@@ -183,6 +184,9 @@ class SideEffect<EffectOpInterfaceBase interface, string effectName,
 
   // Does this side effect act on every single value of resource.
   bit effectOnFullRegion = range.Value;
+
+  // Does this side effect potentially occur after op exit
+  bit asynchronous = isAsync;
----------------
spaceotter wrote:

I have a variation that fills the attribute parameter with a BoolAttr. How would you recommend making it certain who added the parameter and for what purpose?

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


More information about the Mlir-commits mailing list