diff options
author | Simon Pilgrim <RKSimon@users.noreply.github.com> | 2024-03-01 19:24:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 19:24:27 +0000 |
commit | fcdf818a7779871990214cc1035bb2c36426f459 (patch) | |
tree | 2d79ccee4a2ac2ffb28564a500e580fa9a791b7b /llvm/unittests/Support/ErrorTest.cpp | |
parent | 1e8d3c357e1fd79bf3a641767d95147a8c0f54bd (diff) | |
download | llvm-fcdf818a7779871990214cc1035bb2c36426f459.zip llvm-fcdf818a7779871990214cc1035bb2c36426f459.tar.gz llvm-fcdf818a7779871990214cc1035bb2c36426f459.tar.bz2 |
[KnownBits] Add KnownBits::absdiff to compute the absolute difference of 2 unsigned values (#82354)
Equivalent to "umax(A, B) - umin(A, B)"
This is just an initial correctness implementation, hopefully we can make this optimal in the future.
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions