[all-commits] [llvm/llvm-project] 6ba5fc: [X86] lowerShuffleWithVPMOV - support direct lower...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Aug 11 09:40:29 PDT 2022
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-08-11 (Thu, 11 Aug 2022)
[X86] lowerShuffleWithVPMOV - support direct lowering to VPMOV on VLX targets
lowerShuffleWithVPMOV currently only matches shuffle(truncate(x)) patterns, but on VLX targets the truncate isn't usually necessary to make the VPMOV node worthwhile (as we're only targetting v16i8/v8i16 shuffles we're almost always ending up with a PSHUFB node instead). PACKSS/PACKUS are still preferred vs VPMOV due to their lower uop count.
Fixes the remaining regression from the fixes in rG293899c64b75
More information about the All-commits