Unverified Commit 73f76cda authored by Simon Pilgrim's avatar Simon Pilgrim Committed by GitHub
Browse files

[APInt] Add APIntOps::absdiff to compute the absolute difference of 2 unsigned values (#82255)

Equivalent to "umax(A, B) - umin(A, B)"

First step towards adding knownbits support for absdiff patterns for #81765
parent 1789dc2f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment