Sanjay Patel 9114900287 [x86] improve codegen for non-splat bit-masked vector compare and select (PR46531)
vselect ((X & Pow2C) == 0), LHS, RHS --> vselect ((shl X, C') < 0), RHS, LHS

Follow-up to D83073 - the non-splat mask cases where we actually see an
improvement are quite limited from what I can tell. AVX1 needs multiply
and blend capabilities and AVX2 needs vector shift and blend capabilities.
The intersection of those 2 constraints is only vectors with 32-bit or
64-bit elements.

XOP is/was better.

Differential Revision: https://reviews.llvm.org/D83181
2020-07-08 08:20:49 -04:00
..
2020-07-07 10:13:40 +08:00
2020-06-25 10:06:27 +08:00
2020-06-21 15:54:17 +01:00
2019-08-12 01:29:46 +00:00
2020-03-24 23:04:58 +09:00
2020-02-08 15:23:40 +00:00
2020-02-08 15:23:40 +00:00
2020-01-06 10:50:26 +00:00
2019-08-15 10:12:26 +00:00
2020-04-09 10:36:00 +01:00
2019-10-07 14:10:21 +00:00
2019-09-05 18:15:07 +00:00
2020-01-31 09:36:55 -08:00