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

[X86] Improve KnownBits for X86ISD::PSADBW nodes (#83830)

Don't just return the known zero upperbits, compute the absdiff Knownbits and perform the horizontal sum.

Add implementations that handle both the X86ISD::PSADBW nodes and the INTRINSIC_WO_CHAIN intrinsics (pre-legalization).
parent c371ee9d
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