[Mlir-commits] [mlir] [MLIR][GPU] Fix async.yield gpu.async.token lowering race (PR #190717)
Mehdi Amini
llvmlistbot at llvm.org
Tue Apr 7 03:54:42 PDT 2026
================
@@ -30,9 +30,15 @@ class RewritePatternSet;
/// the corresponding async.yield ops need to update their types accordingly to
/// the TypeConverter, but otherwise don't care what type conversions are
/// happening.
+///
+/// `addStructuralYieldPattern` controls whether the structural pattern for
+/// `async.yield` is registered. Callers that install their own (more
+/// specialized) `async.yield` rewriter should pass `false` to avoid pattern
+/// competition with that rewriter. The dynamic legality marker for
----------------
joker-eph wrote:
Changing the order of pattern insertion would also allow them to insert their own first.
https://github.com/llvm/llvm-project/pull/190717
More information about the Mlir-commits
mailing list