aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorRoman Rusyaev <rusyaev.rm@gmail.com>2022-07-26 18:56:04 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-07-26 18:57:10 +0800
commitfec5ff2a3230ac9214891879e97b67dd6db833ed (patch)
tree73900b3b45ffc0c4095544f4b5a8563de27fbc60 /llvm/lib/Bitcode
parentbf759e3b10386adc6734f4def5e3c343f8fbbd50 (diff)
downloadllvm-fec5ff2a3230ac9214891879e97b67dd6db833ed.zip
llvm-fec5ff2a3230ac9214891879e97b67dd6db833ed.tar.gz
llvm-fec5ff2a3230ac9214891879e97b67dd6db833ed.tar.bz2
[Clang] [P2025] Analyze only potential scopes for NRVO
Before the patch we calculated the NRVO candidate looking at the variable's whole enclosing scope. The research in [P2025] shows that looking at the variable's potential scope is better and covers more cases where NRVO would be safe and desirable. Many thanks to @Izaron for the original implementation. Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D119792
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions