[Mlir-commits] [mlir] [MLIR] Vector: turn the ExtractStridedSlice rewrite pattern from #111541 into a canonicalization (PR #111614)

Benoit Jacob llvmlistbot at llvm.org
Wed Oct 9 04:07:06 PDT 2024


bjacob wrote:

The 2nd commit pushed here addresses review comments AND fixes a bug (thankfully just by deleting a few lines).  I was over-zealously trying to prevent leading unit dims in the `extract` result type and in the process I was causing `numOffsets` to exceed `offsets.size()` which would cause an out-of-bounds read.

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


More information about the Mlir-commits mailing list