[all-commits] [llvm/llvm-project] 9ab16d: [mlir][IntRangeInference] Fix `arith.ceildivsi` ra...
Ivan Butygin via All-commits
all-commits at lists.llvm.org
Fri Dec 27 05:50:42 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ab16d49c99966f33900d68ed5370f19927ca52c
https://github.com/llvm/llvm-project/commit/9ab16d49c99966f33900d68ed5370f19927ca52c
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2024-12-27 (Fri, 27 Dec 2024)
Changed paths:
M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
M mlir/test/Dialect/Arith/int-range-interface.mlir
Log Message:
-----------
[mlir][IntRangeInference] Fix `arith.ceildivsi` range inference when it includes `INT_MIN` (#121062)
There is a special case in `arith.ceildivsi` range inference for
handling `lhs.smin()==INT_MIN`, but when `lhs` is not a single value, it
can cause it to skip entire negative range. Add `lhs.smin() + 1` check
to handle it.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list