HomePhabricator

[X86] Don't scalarize gather/scatters with non-power of 2 element counts. Widen…

Authored by craig.topper on Sep 15 2020, 11:22 PM.

Description

[X86] Don't scalarize gather/scatters with non-power of 2 element counts. Widen instead.

We can pad the mask with zeros in order to widen. We already do
this for power 2 types that are smaller than a legal type.

Details

Committed
craig.topperSep 15 2020, 11:22 PM
Parents
rG3045b3c3b5db: [X86] Add test case for non-power of 2 scatter. NFC
Branches
Unknown
Tags
Unknown