summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineCost.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-09-17 20:07:40 +0000
committerDevang Patel <dpatel@apple.com>2007-09-17 20:07:40 +0000
commit9d1af9b63daa4c1bc2f40ecbbfec13fceb3e3107 (patch)
tree476b0bebe3a9f313c3f7aedfc7b18d57923c3a97 /llvm/lib/Transforms/Utils/InlineCost.cpp
parent77ae4d358f53085075d97bcd6cb2a04145c2f8b4 (diff)
downloadbcm5719-llvm-9d1af9b63daa4c1bc2f40ecbbfec13fceb3e3107.tar.gz
bcm5719-llvm-9d1af9b63daa4c1bc2f40ecbbfec13fceb3e3107.zip
Fix comment.
llvm-svn: 42048
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineCost.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InlineCost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineCost.cpp b/llvm/lib/Transforms/Utils/InlineCost.cpp
index c568355a5f3..ab459c2e3f9 100644
--- a/llvm/lib/Transforms/Utils/InlineCost.cpp
+++ b/llvm/lib/Transforms/Utils/InlineCost.cpp
@@ -96,7 +96,7 @@ void InlineCostAnalyzer::FunctionInfo::analyzeFunction(Function *F) {
unsigned NumInsts = 0, NumBlocks = 0;
// Look at the size of the callee. Each basic block counts as 20 units, and
- // each instruction counts as 10.
+ // each instruction counts as 5.
for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB) {
for (BasicBlock::const_iterator II = BB->begin(), E = BB->end();
II != E; ++II) {
OpenPOWER on IntegriCloud