diff options
author | Owen Anderson <resistor@mac.com> | 2010-09-07 23:15:30 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-09-07 23:15:30 +0000 |
commit | a4d9c78aa1689e86961c96b7a7feaa67d83373ba (patch) | |
tree | 3d399fbc0e77fd7adfa01f1029a1c4ee9b391341 /clang/lib/CodeGen/CGExpr.cpp | |
parent | bfc4026f4c259763d32be8103f9386d4b92af316 (diff) | |
download | bcm5719-llvm-a4d9c78aa1689e86961c96b7a7feaa67d83373ba.tar.gz bcm5719-llvm-a4d9c78aa1689e86961c96b7a7feaa67d83373ba.zip |
Add a separate unrolling threshold when the current function is being optimized for size.
The threshold value of 50 is arbitrary, and I chose it simply by analogy to the inlining thresholds, where
the baseline unrolling threshold is slightly smaller than the baseline inlining threshold. This could
undoubtedly use some tuning.
llvm-svn: 113306
Diffstat (limited to 'clang/lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions