[Mlir-commits] [mlir] [mlir][IR] Add builtin `TokenType` (PR #195640)
Jacques Pienaar
llvmlistbot at llvm.org
Fri May 29 00:26:13 PDT 2026
================
@@ -186,13 +186,14 @@ static CoroMachinery setupCoroMachinery(func::FuncOp func) {
// Allocate async token/values that we will return from a ramp function.
// ------------------------------------------------------------------------ //
- // We treat TokenType as state update marker to represent side-effects of
- // async computations
- bool isStateful = isa<TokenType>(func.getResultTypes().front());
+ // We treat async::TokenType as state update marker to represent
----------------
jpienaar wrote:
I may have left it unchanged in the comment as I think it is clear for human readers which one it is. But that's personal preference really :)
https://github.com/llvm/llvm-project/pull/195640
More information about the Mlir-commits
mailing list