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

[DAG] computeKnownBits - abs(x) will be zero in the upper bits if x is sign-extended (#94382)

As reported on https://github.com/llvm/llvm-project/issues/94344 - if x has more than one signbit, then the upper bits of its absolute value are guaranteed to be zero

Alive2: https://alive2.llvm.org/ce/z/a87fHU

Fixes #94344
parent 043cc5a2
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