Add async.await operation to "unwrap" async.values
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Fix typo
| mlir/lib/Dialect/Async/IR/Async.cpp | ||
|---|---|---|
| 277 | Declarative assembly will require typing unwrapped type, something like %0 = async.await %av :!async.value<type> -> type? Or is it possible to register just the type inference for parser? | |
| mlir/lib/Dialect/Async/IR/Async.cpp | ||
|---|---|---|
| 277 | Thanks, didn't see it before, it indeed works quite nice in this case. | |
| mlir/include/mlir/Dialect/Async/IR/AsyncOps.td | ||
|---|---|---|
| 99 | nit: becomes | |
| 114 | Would Optional<AnyType>:$value work? | |
| mlir/lib/Dialect/Async/IR/Async.cpp | ||
| 263 | Would it make sense to have one builder that either extracts the result type if it is an async.value or otherwise builds an await without result? | |
| 312 | These errors are missing tests. | |
nit: becomes