diff options
author | Philip Reames <listmail@philipreames.com> | 2022-01-11 08:40:03 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-01-11 08:44:31 -0800 |
commit | e838949bee05b77f16dea60abdfafb07471c8b89 (patch) | |
tree | 8e4406785b7c731d27cd2815283448ce783c525a /clang/lib/Frontend/InitHeaderSearch.cpp | |
parent | 20404d820c7caddff7416b3f535de74360450baf (diff) | |
download | llvm-e838949bee05b77f16dea60abdfafb07471c8b89.zip llvm-e838949bee05b77f16dea60abdfafb07471c8b89.tar.gz llvm-e838949bee05b77f16dea60abdfafb07471c8b89.tar.bz2 |
[GlobalsModRef] Apply indirect-global rule to all globals initialized from noalias calls
Extend the existing malloc-family specific optimization to all noalias calls. This allows us to handle allocation wrappers, and removes a dependency on a lib-func check in favor of generic attribute usage.
Differential Revision: https://reviews.llvm.org/D116980
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions