Lower a 1D vector transfer op to LLVM if the last dim stride is 1. Also fixes a bug in the original unit stride computation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp | ||
---|---|---|
1033 | Nit: SmallVector (now) has a default values of stack elements, just omit it in the template specification unless you have a strong reason to choose a specific value. | |
1035 | The fact that this also returns true for memrefs with no strides (0D) should be documented. |
Nit: SmallVector (now) has a default values of stack elements, just omit it in the template specification unless you have a strong reason to choose a specific value.