VectorTransfer split previously only split read xfer ops. This adds
the same logic to write ops. The resulting code involves 2
conditionals for write ops while read ops only needed 1, but the created
ops are built upon the same patterns, so pattern matching/expectations
are all consistent other than in regards to the if/else ops.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Vector/VectorTransforms.cpp | ||
---|---|---|
2665 | nit: formatting | |
2804 | Early return success(); here and drop the else plz. | |
mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir | ||
207 | don't hardcode #map0, either capture it or wildcard it away. | |
342 | Please drop these {{\[}}, you already captured properly (i.e. *without* the %, so you should just be able to write [%[[A]]]) |
nit: formatting