Add folder for the case where ExtractStridedSliceOp source comes from a chain of InsertStridedSliceOp. Also add a folder for the trivial case where the ExtractStridedSliceOp is a no-op.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
---|---|---|
1637 | document function value | |
1640 | give explicit integer decl rather than auto, here and below? perhaps it is allowed by style, but you switch to explicit types below for int | |
1665 | This is very subjective, so feel free to ignore but I always find start <= offset && offset < end easier to read :-) | |
1689 | this really belongs to the else part right? this seems a bit strangely placed |
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
---|---|---|
1651 | not: bigger -> greater than (more mathy) |
LGTM, minor post-commit comments (just address and land if appropriate).
Thanks Thomas !
mlir/lib/Dialect/Vector/VectorOps.cpp | ||
---|---|---|
1633 | s/o/of | |
1659 | Put a TODO here for a more powerful analysis? | |
mlir/test/Dialect/Vector/canonicalize.mlir | ||
170 | Make this: %0 = ... offsets = [0, 1] to make the test a bit more interesting ? |
s/o/of