]> granicus.if.org Git - llvm/commit
Don't add a fragment expression when GlobalSRA splits up a single-member struct
authorAdrian Prantl <aprantl@apple.com>
Thu, 31 Aug 2017 00:06:18 +0000 (00:06 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 31 Aug 2017 00:06:18 +0000 (00:06 +0000)
commit6f18931fcdc9a0392b5b11cf52c3711c55fb6b59
treec43e3af21b01e64d2e3882a9bbf907a8ca6ae41b
parent38a8d04490cd0362908cc9151619047428d2dc82
Don't add a fragment expression when GlobalSRA splits up a single-member struct

Fixes PR34390.

https://bugs.llvm.org/show_bug.cgi?id=34390

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312196 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/DebugInfo/Generic/global-sra-single-member.ll [new file with mode: 0644]