[Mlir-commits] [mlir] [mlir][memref] Avoid overflow in mem2reg alloca checks (PR #205245)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jun 23 19:12:12 PDT 2026


LouisLu060211 wrote:

> Can you add test for the change? Thank you!

Hi @xiongzile,

I added a regression test!
File: mlir/test/Dialect/MemRef/mem2reg-overflow.mlir

It contains exactly the crashing input from the bug report (#204297 / #205245).

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


More information about the Mlir-commits mailing list