Skip to content
Commit ac534d2a authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] combineArithReduction - use PACKUSWB directly for PSADBW(TRUNCATE(v8i16...

[X86] combineArithReduction - use PACKUSWB directly for PSADBW(TRUNCATE(v8i16 X)) reduction patterns

Avoids a crash in the D152928 patch due to a reduction pattern appearing after legalization

We can probably extend this further to avoid truncating to sub-128-bit vXi8 (and then calling WidenToV16I8) entirely, but we can't currently hit other cases.
parent 6b258901
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment