summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-07 23:15:30 +0000
committerOwen Anderson <resistor@mac.com>2010-09-07 23:15:30 +0000
commita4d9c78aa1689e86961c96b7a7feaa67d83373ba (patch)
tree3d399fbc0e77fd7adfa01f1029a1c4ee9b391341 /clang/lib/CodeGen/CGExpr.cpp
parentbfc4026f4c259763d32be8103f9386d4b92af316 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud