[Mlir-commits] [mlir] [mlir][arith] Fix SelectOp unsafe int range inference with unfinalized range case (PR #173716)

Longsheng Du llvmlistbot at llvm.org
Tue Dec 30 01:51:25 PST 2025


LongshengDu wrote:

> I don't remember the int range analysis details from the top of my head but can we just return uninitialized state in this case instead of falling back to conservative full range immediately?

I was wondering this as well, not sure should we return uninitialized range or max range. But in this scenario, I think the max range effectively behaves the same as an uninitialized range.

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


More information about the Mlir-commits mailing list