[Mlir-commits] [mlir] [mlir][vector] Add pattern to rewrite contiguous ExtractStridedSlice into Extract (PR #111541)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Oct 8 09:12:53 PDT 2024


================

----------------
banach-space wrote:

> So the pattern's check for unit strides is redundant but I left it because otherwise I would have had to add a comment explaining that.

I would remove it then. The presence of that check suggests that it's something significant, but from your explanation I see that it isn't (unless we were able to find an edge case where it matters).

https://github.com/llvm/llvm-project/pull/111541


More information about the Mlir-commits mailing list