OSDN Git Service

[X86][AVX] Update VBROADCAST folds to always use v2i64 X86vzload
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 19 Feb 2019 16:33:17 +0000 (16:33 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 19 Feb 2019 16:33:17 +0000 (16:33 +0000)
commitf8fa4080b9d6e3e9c2ba525a86afbf879e98c76c
tree622992a658e00a3287a54c1bed6933da5a8501f7
parent47f8b7cd2511d866415f95c2f0d4c00daa5bbc9d
[X86][AVX] Update VBROADCAST folds to always use v2i64 X86vzload

The VBROADCAST combines and SimplifyDemandedVectorElts improvements mean that we now more consistently use shorter (128-bit) X86vzload input operands.

Follow up to D58053

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354346 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/insertelement-shuffle.ll
test/CodeGen/X86/vector-shuffle-combining-avx2.ll
test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll