Skip to content
Commit 831041be authored by Christopher Bate's avatar Christopher Bate
Browse files

[mlir][vector] Cleanup VectorUnroll and create a generic tile iteration utility

This change refactors some of the utilities used to unroll larger vector
computations into smaller vector computations. In fact, the indexing
computations used here are rather generic and are useful in other dialects or
downstream projects. Therefore, a utility for iterating over all possible tile
offsets for a particular pair of static (shape, tiled shape) is introduced in
IndexingUtils and replaces the existing computations in the vector unrolling
transformations. This builds off of the refactoring of IndexingUtils introduced
in 203fad47.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D150000
parent ed4daeaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment