commit | 0ba29b6226e8eef38bb778e54d8f287028c35136 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Mon Aug 08 01:30:53 2016 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Mon Aug 08 01:30:53 2016 +0000 |
tree | 279444dcbe3be15ae3fed076b7f893ac083804af | |
parent | 44aa10251fbee122a78ee1f3f63b365a60706bf0 [diff] |
[SROA] Fix crash with lifetime intrinsic partially covering alloca. Summary: PromoteMemToReg looks specifically for the pattern bitcast+lifetime.start (or a bitcast-equivalent GEP); any offset will lead to an assertion failure. Fixes https://llvm.org/bugs/show_bug.cgi?id=27999 . Differential Revision: https://reviews.llvm.org/D22737 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277969 91177308-0d34-0410-b5e6-96231b3b80d8