Even though this operation is intended for 1d/2d conversions currently,
leaving a semantic hole in the lowering prohibits proper testing of this
operation. This CL adds a straightforward reference implementation for the
missing cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Regarding the loop starting on line 1502: it bugs me that there's no readable/efficient way to assert "don't do this on the first (or last) iteration".
Comment Actions
Yeah, I could unroll the loop once, but then other things become ugly. Or allow the index to "overshoot" but then we lose the nice assert.
mlir/lib/Dialect/Vector/VectorTransforms.cpp | ||
---|---|---|
1469 | /// |
mlir/lib/Dialect/Vector/VectorTransforms.cpp | ||
---|---|---|
1469 | I was convinced I had triple checked this (pun intended), but I still missed it somehow :-) |
///