[Mlir-commits] [mlir] [MLIR][MemRef] Validate linear size before lowering allocs (PR #179155)

Stefan Weigl-Bosker llvmlistbot at llvm.org
Mon Feb 2 07:25:45 PST 2026


sweiglbosker wrote:

I was wondering about that too. My conclusion was that since we only lower identity layouts anyway, if we can prove that any static stride or size overflows then lowering the allocation would be invalid because valid loads and stores would suddenly become UB in llvm.

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


More information about the Mlir-commits mailing list