[llvm-commits] [llvm] r101664 - /llvm/trunk/include/llvm/Analysis/InlineCost.h
Dale Johannesen
dalej at apple.com
Sat Apr 17 12:56:47 PDT 2010
Author: johannes
Date: Sat Apr 17 14:56:46 2010
New Revision: 101664
URL: http://llvm.org/viewvc/llvm-project?rev=101664&view=rev
Log:
Add comment (lost when reverting and reapplying 101503).
Modified:
llvm/trunk/include/llvm/Analysis/InlineCost.h
Modified: llvm/trunk/include/llvm/Analysis/InlineCost.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/InlineCost.h?rev=101664&r1=101663&r2=101664&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/InlineCost.h (original)
+++ llvm/trunk/include/llvm/Analysis/InlineCost.h Sat Apr 17 14:56:46 2010
@@ -165,6 +165,8 @@
void analyzeFunction(Function *F);
};
+ // The Function* for a function can be changed (by ArgumentPromotion);
+ // the ValueMap will update itself when this happens.
ValueMap<const Function *, FunctionInfo> CachedFunctionInfo;
public:
More information about the llvm-commits
mailing list