This patch adds support for vectorizing loops with 'iter_args' when those loops
are not a vector dimension. This allows vectorizing outer loops with an inner
'iter_args' loop (e.g., reductions). Vectorizing scenarios where 'iter_args'
loops are vector dimensions would require more work (e.g., analysis,
generating horizontal reduction, etc.) not included in this patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp | ||
---|---|---|
624 | The second sentence reads almost like a dup of the first. | |
728 | same | |
1041 | add TODO: for this | |
mlir/test/Dialect/Affine/SuperVectorize/vectorize_1d.mlir | ||
518 | (1) space after // before CHECK (or move the CHECK-LABEL here) I know that was have many different styles throughout, but I have a slight preference on keeping all CHECKs together when this form is used |
The second sentence reads almost like a dup of the first.