diff options
| author | fabrizio-indirli <fabrizio.indirli@arm.com> | 2025-10-24 10:01:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-24 10:01:02 +0100 |
| commit | 86a2073b5bf5f0b44573b8f7e600040a8cdc8bc2 (patch) | |
| tree | 2a3875956b5253016f7f40942929cbe371b6c0b3 /lldb/packages/Python/lldbsuite/test | |
| parent | a1a37fedfecccd72fe2c3c8b03327819b9923c55 (diff) | |
| download | llvm-86a2073b5bf5f0b44573b8f7e600040a8cdc8bc2.zip llvm-86a2073b5bf5f0b44573b8f7e600040a8cdc8bc2.tar.gz llvm-86a2073b5bf5f0b44573b8f7e600040a8cdc8bc2.tar.bz2 | |
[mlir][scf] Add parallelLoopUnrollByFactors() (#163806)
- 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 header to make them available
to other passes.
- In `mlir::generateUnrolledLoop()`, add also 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 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
