[llvm] [UpdateTestChecks] Add --filter/--filter-out support to update_mir_test_checks.py (PR #191059)

Sebastian Neubauer via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 04:16:23 PDT 2026


================
@@ -84,6 +84,8 @@ def build_function_info_dictionary(
                 )
             mangled.append(func_line)
         body = "".join(mangled)
+        if filters:
+            body = common.do_filter(body, filters)
----------------
Flakebi wrote:

nit: No need for the `if`, `do_filter` does that check internally as well (the other place calling do_filter does not check for this either).

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


More information about the llvm-commits mailing list