Current setup for conv op vectorization does not enable user to specify tile
sizes as well as dimensions for vectorization. In this commit we change that by
adding tile sizes as pass arguments. Every dimension with corresponding tile
size > 1 is automatically vectorized.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
In general, I wouldn't couple vectorization flags to tiling flags (well, maybe have tiling as a precondition) because we may want to tile several times. But this is already an improvement over the current state.
Comment Actions
I agree. We can tile for free before the pass though.. You can see it in the tests. But yeah, right now we cannot vectorize without tiling (tiling is in fact needed only when dimension is dynamic)..