Recommit r158407: Allow SROA to look at a vector type and see if the offset is out...
authorPete Cooper <peter_cooper@apple.com>
Thu, 14 Jun 2012 16:38:13 +0000 (16:38 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 14 Jun 2012 16:38:13 +0000 (16:38 +0000)
commit77fdd3ad4afb2a8cd99a1dc7f24faa0e900a1aaf
treedbc5e1a4eb64e5856e480a89f4f8bcd1e64906c0
parentb5a1bf4780b78b301fd21dbd865db45ee33cd204
Recommit r158407: Allow SROA to look at a vector type and see if the offset is out of range to be replaced with a scalar access.  Now with additional fix and test for indexing into a vector inside a struct

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158454 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/2011-06-08-VectorExtractValue.ll