diff options
author | Piotr Padlewski <piotr.padlewski@gmail.com> | 2018-05-05 10:23:27 +0000 |
---|---|---|
committer | Piotr Padlewski <piotr.padlewski@gmail.com> | 2018-05-05 10:23:27 +0000 |
commit | e9832dfdf366ddffba68164adb6855d17c9f87c1 (patch) | |
tree | f4c3f721b3903da7bb0ada7e34e27bd992edbd65 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c2ad0968450085bb39b1750d3c43960610e15816 (diff) | |
download | bcm5719-llvm-e9832dfdf366ddffba68164adb6855d17c9f87c1.tar.gz bcm5719-llvm-e9832dfdf366ddffba68164adb6855d17c9f87c1.zip |
[CaptureTracking] Handle capturing of launder.invariant.group
Summary:
launder.invariant.group has the same rules of capturing as
bitcast, gep, etc - the original value is not captured
if the returned pointer is not captured.
With this patch, we mark 40% more functions as noalias when compiling with -fstrict-vtable-pointers;
1078 vs 1778 (39.37%)
Reviewers: sanjoy, davide, nlewycky, majnemer, mehdi_amini
Subscribers: JDevlieghere, llvm-commits
Differential Revision: https://reviews.llvm.org/D32673
llvm-svn: 331587
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions