Files
clang-p2996/llvm/lib/Support/KnownBits.cpp
Simon Pilgrim fcdf818a77 [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.
2024-03-01 19:24:27 +00:00

36 KiB