[all-commits] [llvm/llvm-project] 7cf567: [ConstantRange] Calculate precise range for multip...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jun 23 03:18:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cf567d46121f4aa8f659554b5e8584cd0fac056
https://github.com/llvm/llvm-project/commit/7cf567d46121f4aa8f659554b5e8584cd0fac056
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M llvm/lib/IR/ConstantRange.cpp
M llvm/unittests/IR/ConstantRangeTest.cpp
Log Message:
-----------
[ConstantRange] Calculate precise range for multiply by -1
These are pretty common in SCEV, so make sure we get a precise
result by mapping to the sub() operation.
More information about the All-commits
mailing list