[all-commits] [llvm/llvm-project] b55fa2: [MLIR][NFC] Retire let constructor for Async (#137...
lorenzo chelini via All-commits
all-commits at lists.llvm.org
Mon Apr 28 00:31:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b55fa20d838cff48d060b8f211795bc8b84c265b
https://github.com/llvm/llvm-project/commit/b55fa20d838cff48d060b8f211795bc8b84c265b
Author: lorenzo chelini <l.chelini at icloud.com>
Date: 2025-04-28 (Mon, 28 Apr 2025)
Changed paths:
M mlir/include/mlir/Dialect/Async/Passes.h
M mlir/include/mlir/Dialect/Async/Passes.td
M mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
M mlir/lib/Dialect/Async/Transforms/AsyncRuntimeRefCounting.cpp
M mlir/lib/Dialect/Async/Transforms/AsyncRuntimeRefCountingOpt.cpp
M mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
Log Message:
-----------
[MLIR][NFC] Retire let constructor for Async (#137461)
let constructor is legacy (do not use in tree!) since the tableGen
backend emits most of the glue logic to build a pass.
Note: The following constructor has been retired:
```cpp
std::unique_ptr<Pass> createAsyncParallelForPass(bool asyncDispatch,
int32_t numWorkerThreads,
int32_t minTaskSize);
```
To update your codebase, replace it with the new options-based API:
```cpp
AsyncParallelForPassOptions options{/*asyncDispatch=*/, /*numWorkerThreads=*/, /*minTaskSize=*/};
createAsyncParallelForPass(options);
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list