Fix a bug which caused us to miscompile a couple of Ada
authorChris Lattner <sabre@nondot.org>
Mon, 2 Feb 2009 18:02:59 +0000 (18:02 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Feb 2009 18:02:59 +0000 (18:02 +0000)
commit996d7a97f94de45a3627b03eb3c44b2b325f3e51
treec2ae2c3c4c79a19c163dd2dd186556e501f8075c
parentd5863dd9a806300bd020b80de3067fd36ac213c6
Fix a bug which caused us to miscompile a couple of Ada
tests.  Thanks for the beautiful reduced testcase Duncan!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63529 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/2009-02-02-ScalarPromoteOutOfRange.ll [new file with mode: 0644]