Fix scalarrepl to not 'miscompile' undefined code, part #2.
authorChris Lattner <sabre@nondot.org>
Sun, 10 Feb 2008 19:05:37 +0000 (19:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Feb 2008 19:05:37 +0000 (19:05 +0000)
commit916c954bf20f48c3269542fc919ccb92a99496ee
tree996cda99e1e4e03c375d527f6b63c885f4e3864f
parentab5d56c6b974b5bcfa0b63e7ae024a53f0edd771
Fix scalarrepl to not 'miscompile' undefined code, part #2.
This fixes the store case, my previous patch just fixed the load
case.  rdar://5707076.

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