[Mlir-commits] [mlir] [mlir][vector] Add opt-in `inbounds`/`nneg` flags to `vector.load`/`vector.store` (PR #202118)
Krzysztof Drewniak
llvmlistbot at llvm.org
Mon Jun 15 08:36:02 PDT 2026
krzysz00 wrote:
> Do people lower via LLVM in those contexts?
For negative offsets, yeah, I've seen that sort of thing. `%idx = select %isOOB, %realIdx, %cBecomes_uint32_max_bytes; vector.store %mem[%idx] : memref<NxT, #amdgpu.address_space<raw_fat_buffer_pointer>>` is a construct that comes up again, though sometimes that constant is just `%idx = select %isOOB, %readIdx, %dimOfMem`
https://github.com/llvm/llvm-project/pull/202118
More information about the Mlir-commits
mailing list