[llvm] r274936 - [BFI] Minor cleanup. NFC

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 14:24:13 PDT 2016

Author: anemet
Date: Fri Jul  8 16:24:13 2016
New Revision: 274936

URL: http://llvm.org/viewvc/llvm-project?rev=274936&view=rev
[BFI] Minor cleanup. NFC

Use typedef Result in BlockFrequencyAnalysis::run.  Fix typo in comment.


Modified: llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h?rev=274936&r1=274935&r2=274936&view=diff
--- llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/BlockFrequencyInfo.h Fri Jul  8 16:24:13 2016
@@ -89,8 +89,8 @@ public:
   /// \brief Provide the result typedef for this analysis pass.
   typedef BlockFrequencyInfo Result;
-  /// \brief Run the analysis pass over a function and produce BPI.
-  BlockFrequencyInfo run(Function &F, AnalysisManager<Function> &AM);
+  /// \brief Run the analysis pass over a function and produce BFI.
+  Result run(Function &F, AnalysisManager<Function> &AM);
 /// \brief Printer pass for the \c BlockFrequencyInfo results.

More information about the llvm-commits mailing list