[BFI] Minor cleanup. NFC
authorAdam Nemet <anemet@apple.com>
Fri, 8 Jul 2016 21:24:13 +0000 (21:24 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 8 Jul 2016 21:24:13 +0000 (21:24 +0000)
Use typedef Result in BlockFrequencyAnalysis::run.  Fix typo in comment.

llvm-svn: 274936

llvm/include/llvm/Analysis/BlockFrequencyInfo.h

index 12d2e68..ed473ab 100644 (file)
@@ -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.