rearrange how SRoA handles promotion of allocas to vectors.
authorChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2009 01:30:09 +0000 (01:30 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 3 Feb 2009 01:30:09 +0000 (01:30 +0000)
commit7809ecd5b019d26498499121f4d9c0b7de2f0a14
treeae340afb0b184789b05d8b01eea3b8babd693281
parenta5f81bba4ab18d6129774d4d67495f14b6f64375
rearrange how SRoA handles promotion of allocas to vectors.
With the new world order, it can handle cases where the first
store into the alloca is an element of the vector, instead of
requiring the first analyzed store to have the vector type
itself.  This allows us to un-xfail
test/CodeGen/X86/vec_ins_extract.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63590 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/CodeGen/X86/vec_ins_extract.ll
test/Transforms/ScalarRepl/vector_promote.ll