[BFI] Minor cleanup. NFC

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

llvm-svn: 274936
This commit is contained in:
Adam Nemet 2016-07-08 21:24:13 +00:00
parent f836067cc0
commit 0a24048bb7
1 changed files with 2 additions and 2 deletions

View 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.