[llvm] r207555 - Support: Remove out-of-date comments
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Apr 29 09:47:39 PDT 2014
Author: dexonsmith
Date: Tue Apr 29 11:47:39 2014
New Revision: 207555
URL: http://llvm.org/viewvc/llvm-project?rev=207555&view=rev
Log:
Support: Remove out-of-date comments
The code is now shared... no need for a note.
Modified:
llvm/trunk/include/llvm/Support/BranchProbability.h
Modified: llvm/trunk/include/llvm/Support/BranchProbability.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/BranchProbability.h?rev=207555&r1=207554&r2=207555&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/BranchProbability.h (original)
+++ llvm/trunk/include/llvm/Support/BranchProbability.h Tue Apr 29 11:47:39 2014
@@ -56,10 +56,6 @@ public:
/// result.
///
/// \return \c Num times \c this.
- ///
- /// \note This code should be shared with (or replaced by) the implementation
- /// of \a BlockFrequency::scale(), which seems to be calculating something
- /// similar.
uint64_t scale(uint64_t Num) const;
/// \brief Scale a large integer by the inverse.
@@ -68,10 +64,6 @@ public:
/// Returns the floor of the result.
///
/// \return \c Num divided by \c this.
- ///
- /// \note This code should be shared with (or replaced by) the implementation
- /// of \a BlockFrequency::scale(), which seems to be calculating something
- /// similar.
uint64_t scaleByInverse(uint64_t Num) const;
bool operator==(BranchProbability RHS) const {
More information about the llvm-commits
mailing list