From f044ed7cf9f66d41f79c201aa8a0492b748ea012 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Sat, 17 Apr 2010 19:56:46 +0000 Subject: [PATCH] Add comment (lost when reverting and reapplying 101503). llvm-svn: 101664 --- include/llvm/Analysis/InlineCost.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/Analysis/InlineCost.h b/include/llvm/Analysis/InlineCost.h index ff1f62b3b63..ab0b84524af 100644 --- a/include/llvm/Analysis/InlineCost.h +++ b/include/llvm/Analysis/InlineCost.h @@ -165,6 +165,8 @@ namespace llvm { void analyzeFunction(Function *F); }; + // The Function* for a function can be changed (by ArgumentPromotion); + // the ValueMap will update itself when this happens. ValueMap CachedFunctionInfo; public: