Commit a0d457bc authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] foldMaskAndShiftToScale - use MaskedValueIsZero to test for all-zero upper bits

We were testing for an exact match of zero bits which isn't necessary (we don't care if lower bits are zero) - by inspection as its proven tricky to get a decent test case.

Noticed while clearing up D155472 regressions
parent 86258bda
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