Reapply: Teach SROA how to update debug info for fragmented variables.
authorAdrian Prantl <aprantl@apple.com>
Wed, 7 Jan 2015 20:52:22 +0000 (20:52 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 7 Jan 2015 20:52:22 +0000 (20:52 +0000)
commit50bf54ccf4fd83239b4680d0263e53be37934e2f
treea2bad574e336d2dfd5e9dea0d237a180fce937fe
parent7950596b556ddf4091b41c543573cd2268047c8a
Reapply: Teach SROA how to update debug info for fragmented variables.

The two buildbot failures were addressed in LLVM r225378 and CFE r225359.

This rapplies commit 225272 without modifications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp
test/DebugInfo/X86/array2.ll
test/DebugInfo/X86/sroasplit-1.ll [new file with mode: 0644]
test/DebugInfo/X86/sroasplit-2.ll [new file with mode: 0644]
test/DebugInfo/X86/sroasplit-3.ll [new file with mode: 0644]