diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-06-24 01:35:19 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-06-24 01:35:19 +0000 |
commit | 739f0de995be7840616933de76774ee156f704a0 (patch) | |
tree | 6f5f180b552053db2375131678afd4e844e4357b /CREDITS.TXT | |
parent | 2587e3ecef2674ff3ef159e902155f9b624f01a6 (diff) |
[InstCombine] Don't replace allocas with smaller globals
Summary:
InstCombine replaces large allocas with small globals consts causing buffer overflows
on valid code, see PR33372.
This fix permits this optimization only if the global is dereference for alloca size.
Fixes PR33372
Reviewers: eugenis, majnemer, chandlerc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D34311
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CREDITS.TXT')
0 files changed, 0 insertions, 0 deletions