Roman Lebedev 358df06f4e
[X86] Improve matchBinaryShuffle()'s BLEND lowering with per-element all-zero/all-ones knowledge
We can use `OR` instead of `BLEND` if either the element we are not picking is zero (or masked away);
or the element we are picking overwhelms (e.g. it's all-ones) whatever the element we are not picking:
https://alive2.llvm.org/ce/z/RKejao

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D109726
2021-09-17 19:13:33 +03:00
..
2021-09-09 18:24:28 -04:00
2021-08-10 13:56:54 -04:00
2021-08-20 22:32:12 +03:00