https://github.com/boomanaiden154 updated 
https://github.com/llvm/llvm-project/pull/174298

>From 50721b3a424fef103374c6ded9d1bbd0e0805903 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <[email protected]>
Date: Sun, 4 Jan 2026 06:01:23 +0000
Subject: [PATCH] feedback

Created using spr 1.3.7
---
 llvm/utils/lit/lit/TestRunner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py
index b880bab5d4019..68f92f47e6fb0 100644
--- a/llvm/utils/lit/lit/TestRunner.py
+++ b/llvm/utils/lit/lit/TestRunner.py
@@ -1071,7 +1071,7 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
             raise KeyboardInterrupt
         if proc_not_counts[i] % 2:
             if proc_not_fail_if_crash[i]:
-                res = 1 if res <= 0 else 0
+                res = int(res <= 0)
             else:
                 res = 1 if res == 0 else 0
         elif proc_not_counts[i] > 1:

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

Reply via email to