Unverified Commit 7e72cafd authored by AtariDreams's avatar AtariDreams Committed by GitHub
Browse files

[SelectionDAG] Add MaskedValueIsZero check to allow folding of zero extended...

[SelectionDAG] Add MaskedValueIsZero check to allow folding of zero extended variables we know are safe to extend (#85573)

Add ones for every high bit that will cleared.

This will allow us to evaluate variables that have their bits known to
see if they have no risk of overflow despite the shift amount being
greater than the difference between the two types.
parent 8779edb8
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