summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-13 16:27:32 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-13 16:27:32 +0000
commit97d44349c94470d41d8ecf36b81409ee3304e560 (patch)
tree8cedd16835e3b28b3e25005ce3000c4acb06a1b7 /llvm/lib/Transforms/IPO/Inliner.cpp
parent77a09ebbeb0bf5ecbca33ac976d6ee6bd5f64318 (diff)
downloadbcm5719-llvm-97d44349c94470d41d8ecf36b81409ee3304e560.tar.gz
bcm5719-llvm-97d44349c94470d41d8ecf36b81409ee3304e560.zip
Fix an 80 char line limit.
llvm-svn: 163808
Diffstat (limited to 'llvm/lib/Transforms/IPO/Inliner.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index 69a22fb1e60..a9263baa44b 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/lib/Transforms/IPO/Inliner.cpp
@@ -210,7 +210,8 @@ unsigned Inliner::getInlineThreshold(CallSite CS) const {
Function *Caller = CS.getCaller();
bool OptSize = Caller && !Caller->isDeclaration() &&
Caller->hasFnAttr(Attribute::OptimizeForSize);
- if (!(InlineLimit.getNumOccurrences() > 0) && OptSize && OptSizeThreshold < thres)
+ if (!(InlineLimit.getNumOccurrences() > 0) && OptSize &&
+ OptSizeThreshold < thres)
thres = OptSizeThreshold;
// Listen to the inlinehint attribute when it would increase the threshold.
OpenPOWER on IntegriCloud