[Mlir-commits] [mlir] [mlir][memref][vector] Fold memref.subview into out-of-bounds vector transfer ops (PR #80517)

Diego Caballero llvmlistbot at llvm.org
Mon Feb 5 23:52:58 PST 2024


dcaballe wrote:

> Geez, maybe the vector.transfer_read is carrying too much semantics... Is the padding value optional? If so we can fold this in the optional cases.

No, it's required esp. for `in_bounds` = `false` since we use the pad value to fill the out-of-bounds elements. I think the `in_bounds` attribute became obsolete with the introduction of masking. It is actually a scalar implementation of it which should be redundant at this point but... we are still generating it :)

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


More information about the Mlir-commits mailing list