Add Extend shuffle pattern to vNf32 shuffles.
authorNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 16 Feb 2023 17:56:11 +0000 (11:56 -0600)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Fri, 24 Feb 2023 21:22:08 +0000 (15:22 -0600)
commit5767497943c719e7b9fd319d73f9a33b4e0f8595
tree71196a81fbff2e51098132c3546f1b5d3ff7d786
parentaca34da46da41792614799a8b6a8b31a5a6e23d9
Add Extend shuffle pattern to vNf32 shuffles.

There are some cases where its useful for float types, not quite as
hot as in the integer case, but still better than alternatives.

Differential Revision: https://reviews.llvm.org/D143785
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/pr43866.ll
llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
llvm/test/CodeGen/X86/vector-shuffle-combining.ll
llvm/test/CodeGen/X86/zero_extend_vector_inreg.ll