[llvm] [CI][Github] Enable CIR CI build and test (PR #147430)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 08:21:38 PDT 2025


================
@@ -247,6 +255,15 @@ def _get_modified_projects(modified_files: list[str]) -> Set[str]:
         # capacity.
         if len(path_parts) > 3 and path_parts[:3] == ("llvm", "utils", "gn"):
             continue
+        # If the file is in the clang/lib/CIR directory, add the CIR project.
+        if len(path_parts) > 3 and (
+            path_parts[:3] == ("clang", "lib", "CIR")
+            or path_parts[:3] == ("clang", "test", "CIR")
+            or path_parts[:4] == ("clang", "include", "clang", "CIR")
+        ):
+            modified_projects.add("clang")
----------------
boomanaiden154 wrote:

I think it's probably cleaner to drop the `continue` and just fall through.

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


More information about the llvm-commits mailing list