X86: when constructing VZEXT_LOAD from other loads, makes sure its output
authorManman Ren <mren@apple.com>
Tue, 13 Nov 2012 19:13:05 +0000 (19:13 +0000)
committerManman Ren <mren@apple.com>
Tue, 13 Nov 2012 19:13:05 +0000 (19:13 +0000)
commit2adc503f291d69763c5fc59a8e35d318ee22b77a
tree095c09167430f2260763a6cc6f95ee77790a9a7e
parentb64e2115de3b293ef706b75f040277477c949208
X86: when constructing VZEXT_LOAD from other loads, makes sure its output
chain is correctly setup.

As an example, if the original load must happen before later stores, we need
to make sure the constructed VZEXT_LOAD is constrained to be before the stores.

rdar://12684358

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