llvm-project/mlir/test/Dialect/SCF
Matthias Springer 3a41ff4883 [mlir][SCF] Peel scf.for loops for even step divison
Add ForLoopBoundSpecialization pass, which specializes scf.for loops into a "main loop" where `step` divides the iteration space evenly and into an scf.if that handles the last iteration.

This transformation is useful for vectorization and loop tiling. E.g., when vectorizing loads/stores, programs will spend most of their time in the main loop, in which only unmasked loads/stores are used. Only the in the last iteration (scf.if), slower masked loads/stores are used.

Subsequent commits will apply this transformation in the SparseDialect and in Linalg's loop tiling.

Differential Revision: https://reviews.llvm.org/D105804
2021-08-03 10:21:38 +09:00
..
bufferize.mlir [mlir][SCF] populateSCFStructuralTypeConversionsAndLegality WhileOp support 2021-07-14 12:43:04 +03:00
canonicalize.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
for-loop-peeling.mlir [mlir][SCF] Peel scf.for loops for even step divison 2021-08-03 10:21:38 +09:00
for-loop-specialization.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
invalid.mlir [mlir] Added new RegionBranchTerminatorOpInterface and adapted uses of hasTrait<ReturnLike>. 2021-07-26 06:39:31 +02:00
loop-pipelining.mlir [mlir] Extend scf pipeling to support loop carried dependencies 2021-07-21 18:32:38 -07:00
loop-range.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
loop-unroll.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
ops.mlir [MLIR] Introduce scf.execute_region op 2021-06-18 15:22:33 +05:30
parallel-loop-fusion.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
parallel-loop-specialization.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
parallel-loop-tiling.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00