diff options
| author | fabrizio-indirli <fabrizio.indirli@arm.com> | 2025-10-27 14:51:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-27 14:51:51 +0000 |
| commit | dbd9818db320abc02a055201ba6b069069c09e58 (patch) | |
| tree | 31a95a69922a5a73780ee4b2b7a1a7cb27a3255c /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | |
| parent | b2da8eff961fc05a51a9de08c40e805e1f19d81a (diff) | |
| download | llvm-dbd9818db320abc02a055201ba6b069069c09e58.zip llvm-dbd9818db320abc02a055201ba6b069069c09e58.tar.gz llvm-dbd9818db320abc02a055201ba6b069069c09e58.tar.bz2 | |
[mlir][scf] Add parallelLoopUnrollByFactors() (#164958)
- In the SCF Utils, add the `parallelLoopUnrollByFactors()` function to
unroll scf::ParallelOp loops according to the specified unroll factors
- Add a test pass "TestParallelLoopUnrolling" and the related LIT test
- Expose `mlir::parallelLoopUnrollByFactors()`,
`mlir::generateUnrolledLoop()`, and `mlir::scf::computeUbMinusLb()`
functions in the mlir/Dialect/SCF/Utils/Utils.h and /IR/SCF.h headers to
make them available to other passes.
- In `mlir::generateUnrolledLoop()`, add an optional `IRMapping *clonedToSrcOpsMap`
argument to map the new cloned operations to their
original ones. In the function body, change the default `AnnotateFn`
type to `static const` to silence potential warnings about dangling
references when a function_ref is assigned to a variable with automatic
storage.
Signed-off-by: Fabrizio Indirli <Fabrizio.Indirli@arm.com>
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
