[llvm-commits] [llvm] r42048 - /llvm/trunk/lib/Transforms/Utils/InlineCost.cpp
Devang Patel
dpatel at apple.com
Mon Sep 17 13:07:41 PDT 2007
Author: dpatel
Date: Mon Sep 17 15:07:40 2007
New Revision: 42048
URL: http://llvm.org/viewvc/llvm-project?rev=42048&view=rev
Log:
Fix comment.
Modified:
llvm/trunk/lib/Transforms/Utils/InlineCost.cpp
Modified: llvm/trunk/lib/Transforms/Utils/InlineCost.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/InlineCost.cpp?rev=42048&r1=42047&r2=42048&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/InlineCost.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/InlineCost.cpp Mon Sep 17 15:07:40 2007
@@ -96,7 +96,7 @@
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) {
More information about the llvm-commits
mailing list