[llvm] [llvm-reduce] Tighten the check to count actual store NFC (PR #210933)

Kamlesh Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 03:22:30 PDT 2026


https://github.com/kamleshbhalui created https://github.com/llvm/llvm-project/pull/210933

None

>From 87ba003b63bd957c9f59c9771841d967b10b6f23 Mon Sep 17 00:00:00 2001
From: Kamlesh Kumar <kamlesh.kumar at arm.com>
Date: Tue, 21 Jul 2026 10:21:16 +0000
Subject: [PATCH] [llvm-reduce] Tighten the check to count actual store

---
 llvm/test/tools/llvm-reduce/Inputs/sleep-and-check-stores.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/tools/llvm-reduce/Inputs/sleep-and-check-stores.py b/llvm/test/tools/llvm-reduce/Inputs/sleep-and-check-stores.py
index c5a6cf7b52157..6a4e1db5caafd 100755
--- a/llvm/test/tools/llvm-reduce/Inputs/sleep-and-check-stores.py
+++ b/llvm/test/tools/llvm-reduce/Inputs/sleep-and-check-stores.py
@@ -15,7 +15,7 @@
 
 InterestingStores = 0
 for line in input:
-    if "store" in line:
+    if line.lstrip().startswith("store"):
         InterestingStores += 1
 
 print("Interesting stores ", InterestingStores, " sleeping ", sleep_seconds)



More information about the llvm-commits mailing list