https://github.com/melver updated 
https://github.com/llvm/llvm-project/pull/172029

>From 7c8dbba4f20841f2759fb7ee9a7c012facf056ac Mon Sep 17 00:00:00 2001
From: Marco Elver <[email protected]>
Date: Thu, 18 Dec 2025 12:05:08 +0100
Subject: [PATCH] fix

Created using spr 1.3.8-beta.1
---
 llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp 
b/llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
index d4c23ffe9a723..7a950036d9b6b 100644
--- a/llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
+++ b/llvm/lib/Transforms/Instrumentation/LowerAllowCheckPass.cpp
@@ -156,7 +156,7 @@ static bool lowerAllowChecks(Function &F, const 
BlockFrequencyInfo &BFI,
 
   for (auto [I, V] : ReplaceWithValue) {
     ++NumChecksTotal;
-    if (!V) // If the final value is false, the check is considered removed
+    if (!V) // If the final value is false, the check is considered removed.
       ++NumChecksRemoved;
     I->replaceAllUsesWith(ConstantInt::getBool(I->getType(), V));
     I->eraseFromParent();

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to