aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorzhongyunde 00443407 <zhongyunde@huawei.com>2023-09-18 05:07:53 -0400
committerZhongyunde <zhongyunde@huawei.com>2024-08-06 10:30:03 +0800
commitc41da1457051f239b153b798017938ce8e3d2405 (patch)
treea77dfecef056bad388b80b495ca453fd2e755eb9 /llvm/lib/Analysis/ValueTracking.cpp
parentfbee8d5a65defae402f98794d778fe724d24cc51 (diff)
downloadllvm-c41da1457051f239b153b798017938ce8e3d2405.zip
llvm-c41da1457051f239b153b798017938ce8e3d2405.tar.gz
llvm-c41da1457051f239b153b798017938ce8e3d2405.tar.bz2
[tests] precommit tests for ValueTracking
x-y+1 is positive when x > y, so abs (x-y+1) --> x-y+1 Fixes https://github.com/llvm/llvm-project/issues/54735
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions