OSDN Git Service

[X86][AVX] Fix VBROADCASTF128 selection bug (PR28770)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 29 Jul 2016 21:05:10 +0000 (21:05 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 29 Jul 2016 21:05:10 +0000 (21:05 +0000)
commit6b00b5fe8688ac34e29bde86339bace99505b6b7
treeb9e50451a579ab3b40471ba9b1d3965fe3296bbf
parent5e117855c3644fddad07c06e5e68593e3c91a18f
[X86][AVX] Fix VBROADCASTF128 selection bug (PR28770)

Support for lowering to VBROADCASTF128 etc. in D22460 was not correctly ensuring that the only users of the 128-bit vector load were the insertions of the vector into the lower/upper subvectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277214 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-vbroadcastf128.ll
test/CodeGen/X86/avx2-vbroadcasti128.ll