This also fixes the vector.shuffle C++ builder which had an incorrect type assumption that triggers with this new rewrite.
The vector.shuffle semantics were correct though.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Vector/VectorInsertExtractStridedSliceRewritePatterns.cpp | ||
---|---|---|
124–127 | nit: any reason you switched to int? we define getRank as int64_t and although I am sure our compiler breaks way before this for larger rank, it seems a bit nicer to keep the type consistent here and below | |
157 | int64_t i, e now we are operating on offset and sizes * stride, and that may need more bit width |
nit: any reason you switched to int? we define getRank as int64_t and although I am sure our compiler breaks way before this for larger rank, it seems a bit nicer to keep the type consistent
here and below