[Mlir-commits] [mlir] [mlir][memref] Allow out-of-bounds semantics for memref.subview (PR #152164)
    Kunwar Grover 
    llvmlistbot at llvm.org
       
    Wed Aug  6 03:12:49 PDT 2025
    
    
  
Groverkss wrote:
> The reason why I'm feeling uneasy about memrefs running out-of-bounds is that we have operations such as vector.transfer_read that take a look at the size of a memref to determine if masking is needed.
vector.transfer_read masking does not use the source memref size to determine if masking is needed. A mask needs to be provided by the user. I think you are talking about the in_bounds attribute, which I agree would work weirdly with memrefs that can be out-of-bounds.
https://github.com/llvm/llvm-project/pull/152164
    
    
More information about the Mlir-commits
mailing list