Files
clang-p2996/mlir/lib/Conversion/GPUCommon
Max191 580f70e070 [mlir] Check for int limits when converting gpu dims (#140747)
When the upper_bound of a gpu dim op (like `gpu.block_dim`) is the
maximum i32 integer value, the op conversion for it causes overflow by
adding 1 to convert the bound from closed to open. This fixes the bug by
clamping the open bound to the maximum i32 value.

---------

Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
2025-05-20 16:08:50 -07:00
..