commit | 47a78079890d70dafdeefe27a6300adc4e849ca5 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Fri Apr 19 17:52:39 2024 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 19 11:17:50 2024 -0700 |
tree | 87dd5d3e4447fa10b4df57aa6cf876fd076dd09a | |
parent | c0a4daf7de8b876c3e41e0e98960b5eadcee6392 [diff] |
[X86] LowerFunnelShift - improve handling of vXi8 constant splat funnel shifts This patch moves the promotion to vXi16 shifts and the upper/lower bit masking into LowerFunnelShift for targets that have a bit-select instruction (XOP's VPCMOV and AVX512's VPTERNLOG). This prevents the regressions in #89115 due to the masking of ((X << V) | (Y >> (8-V))) vXi8 shifts. GitOrigin-RevId: afc8ad0d938b3fa74e92f1d066d28e64a7f7f905