[llvm] [llvm] Fix typo in comments (PR #108230)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 07:03:23 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-analysis

Author: None (braw-lee)

<details>
<summary>Changes</summary>

Fixes #<!-- -->107949 

---
Full diff: https://github.com/llvm/llvm-project/pull/108230.diff


1 Files Affected:

- (modified) llvm/include/llvm/Analysis/BranchProbabilityInfo.h (+1-1) 


``````````diff
diff --git a/llvm/include/llvm/Analysis/BranchProbabilityInfo.h b/llvm/include/llvm/Analysis/BranchProbabilityInfo.h
index 1ac5694b758fee..fbaeac251bc0e1 100644
--- a/llvm/include/llvm/Analysis/BranchProbabilityInfo.h
+++ b/llvm/include/llvm/Analysis/BranchProbabilityInfo.h
@@ -169,7 +169,7 @@ class BranchProbabilityInfo {
   /// Test if an edge is hot relative to other out-edges of the Src.
   ///
   /// Check whether this edge out of the source block is 'hot'. We define hot
-  /// as having a relative probability >= 80%.
+  /// as having a relative probability > 80%.
   bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const;
 
   /// Print an edge's probability.

``````````

</details>


https://github.com/llvm/llvm-project/pull/108230


More information about the llvm-commits mailing list