aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/BlockFrequency.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/BlockFrequency.h')
-rw-r--r--include/llvm/Analysis/BlockFrequency.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/BlockFrequency.h b/include/llvm/Analysis/BlockFrequency.h
index c4b1e087a0..a7ec65ec55 100644
--- a/include/llvm/Analysis/BlockFrequency.h
+++ b/include/llvm/Analysis/BlockFrequency.h
@@ -40,11 +40,11 @@ public:
bool runOnFunction(Function &F);
- /// getblockFreq - Return block frequency. Never return 0, value must be
- /// positive. Please note that initial frequency is equal to 1024. It means
+ /// getblockFreq - Return block frequency. Return 0 if we don't have the
+ /// information. Please note that initial frequency is equal to 1024. It means
/// that we should not rely on the value itself, but only on the comparison to
- /// the other block frequencies. We do this to avoid using of the floating
- /// points.
+ /// the other block frequencies. We do this to avoid using of floating points.
+ ///
uint32_t getBlockFreq(BasicBlock *BB);
};