[Mlir-commits] [mlir] [MLIR][Vector] Fix i32 overflow in vector mask lowering for large index bounds (PR #188782)
Mehdi Amini
llvmlistbot at llvm.org
Tue Apr 14 10:55:58 PDT 2026
joker-eph wrote:
> What you did makes sense to me, but I would avoid special-casing for scalable vectors and just use INT32_MAX everywhere. For consistency.
Isn't that making the non-scalable path less precise?
The current implementation provides a tighter bound for the non-scalable case, which can be exploited by integer-range analysis or other simplifications.
https://github.com/llvm/llvm-project/pull/188782
More information about the Mlir-commits
mailing list