llvm-project
fcdf818a
- [KnownBits] Add KnownBits::absdiff to compute the absolute difference of 2 unsigned values (#82354)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
[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.
References
#82354 - [KnownBits] Add KnownBits::absdiff to compute the absolute difference of 2 unsigned values
Author
RKSimon
Parents
1e8d3c35
Loading