Have SRoA explicitly track the kind of scalar it is promoting. This is pretty
authorCameron Zwarich <zwarich@apple.com>
Mon, 13 Jun 2011 21:44:35 +0000 (21:44 +0000)
committerCameron Zwarich <zwarich@apple.com>
Mon, 13 Jun 2011 21:44:35 +0000 (21:44 +0000)
commitdeb74f21f205aa245568ea965132eb076a3bf88c
tree83c97704cc3828ecd04af1fd82c5152a612aa278
parentdd68912801861273dc3dca33cfc18357213049a4
Have SRoA explicitly track the kind of scalar it is promoting. This is pretty
spartan right now, but I plan to encode more information in this enum to improve
the correctness and reliability of SRoA. At least this first pass makes it
possible to make VectorTy an actual VectorType.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132937 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp