SelectionDAG: when constructing VZEXT_LOAD from other loads, make sure its
authorManman Ren <mren@apple.com>
Fri, 31 Aug 2012 23:16:57 +0000 (23:16 +0000)
committerManman Ren <mren@apple.com>
Fri, 31 Aug 2012 23:16:57 +0000 (23:16 +0000)
commit2b7a2e8833c00a484bd9d54db77959cfe31dfc8d
tree7f7412d47758ef24bfbd4280d7ce04574c6a942e
parentdfb1e4babd2e825d951d42bcb45438b48c45b155
SelectionDAG: when constructing VZEXT_LOAD from other loads, make 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://11457792

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