Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment