summaryrefslogtreecommitdiffstats
path: root/clang/test/VFS/parse-errors.c
diff options
context:
space:
mode:
authorChen Li <meloli87@gmail.com>2015-09-29 05:03:32 +0000
committerChen Li <meloli87@gmail.com>2015-09-29 05:03:32 +0000
commit9f27fc0599c6f9a5ed7e4a49b132b0d77f5c26d0 (patch)
tree22a1837f11481031576c922b9d477c633719f39e /clang/test/VFS/parse-errors.c
parent55e39a7cf3a72e96573abaf662a561d03e6a91e2 (diff)
downloadbcm5719-llvm-9f27fc0599c6f9a5ed7e4a49b132b0d77f5c26d0.tar.gz
bcm5719-llvm-9f27fc0599c6f9a5ed7e4a49b132b0d77f5c26d0.zip
[LoopUnswitch] Add block frequency analysis to recognize hot/cold regions
Summary: This patch adds block frequency analysis to LoopUnswitch pass to recognize hot/cold regions. For cold regions the pass only performs trivial unswitches since they do not increase code size, and for hot regions everything works as before. This helps to minimize code growth in cold regions and be more aggressive in hot regions. Currently the default cold regions are blocks with frequencies below 20% of function entry frequency, and it can be adjusted via -loop-unswitch-cold-block-frequency flag. The entire feature is controlled via -loop-unswitch-with-block-frequency flag and it is off by default. Reviewers: broune, silvas, dnovillo, reames Subscribers: davidxl, llvm-commits Differential Revision: http://reviews.llvm.org/D11605 llvm-svn: 248777
Diffstat (limited to 'clang/test/VFS/parse-errors.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud