aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Index/annotate-nested-name-specifier.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2017-07-06 22:32:27 +0000
committerWei Mi <wmi@google.com>2017-07-06 22:32:27 +0000
commit20526b2725c6d570057d10d12a8ad0ae830c3923 (patch)
treedfb698349b4cff62f20d9d6c9d068a05cb25060b /clang/test/Index/annotate-nested-name-specifier.cpp
parentb9fc48da832654a2b486adaa790ceaa6dba94455 (diff)
downloadllvm-20526b2725c6d570057d10d12a8ad0ae830c3923.zip
llvm-20526b2725c6d570057d10d12a8ad0ae830c3923.tar.gz
llvm-20526b2725c6d570057d10d12a8ad0ae830c3923.tar.bz2
[ConstHoisting] choose to hoist when frequency is the same.
The patch is to adjust the strategy of frequency based consthoisting: Previously when the candidate block has the same frequency with the existing blocks containing a const, it will not hoist the const to the candidate block. For that case, now we change the strategy to hoist the const if only existing blocks have more than one block member. This is helpful for reducing code size. Differential Revision: https://reviews.llvm.org/D35084 llvm-svn: 307328
Diffstat (limited to 'clang/test/Index/annotate-nested-name-specifier.cpp')
0 files changed, 0 insertions, 0 deletions