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

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 07:02:35 PDT 2024


https://github.com/braw-lee created https://github.com/llvm/llvm-project/pull/108230

Fixes #107949 

>From 5b497726c7b99966df294a31d2bf22602f5b1267 Mon Sep 17 00:00:00 2001
From: Kushal Pal <kushalpal109 at gmail.com>
Date: Wed, 11 Sep 2024 19:26:36 +0530
Subject: [PATCH] [llvm] Fix typo in comments

Signed-off-by: Kushal Pal <kushalpal109 at gmail.com>
---
 llvm/include/llvm/Analysis/BranchProbabilityInfo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.



More information about the llvm-commits mailing list