[llvm] [UTC] CHECK-EMPTY instead of skipping blank lines (PR #165718)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 06:43:20 PDT 2025


================
@@ -2280,6 +2280,9 @@ def add_checks(
             # For IR output, change all defs to FileCheck variables, so we're immune
             # to variable naming fashions.
             else:
+                blank_line_indices = {
+                    i for i, line in enumerate(func_body) if line.strip() == ""
+                } if ginfo.get_version() >= 7 else set()
----------------
arichardson wrote:

race condition :)

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


More information about the llvm-commits mailing list