[llvm] github: Add llvm:mc label for generic MC interface (PR #153737)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 09:37:59 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mc

Author: Fangrui Song (MaskRay)

<details>
<summary>Changes</summary>

As a member of github.com/orgs/llvm/teams/pr-subscribers-llvm-mc , I was not notified about PR #<!-- -->149935.

This commit introduces the `llvm:mc` label to cover the generic MC
interface, excluding target-specific MCTargetDesc files.

- Rename the `mc` label to `llvm:mc` for consistency with other LLVM subdirectory labels.
- Exclude `llvm/test/MC` from the label scope, as it contains many target-specific directories.

Admin: please change the name of https://github.com/orgs/llvm/teams/pr-subscribers-llvm-mc
to "pr-subscribers-llvm:mc", similar to pr-subscribers-llvm:ir



---
Full diff: https://github.com/llvm/llvm-project/pull/153737.diff


1 Files Affected:

- (modified) .github/new-prs-labeler.yml (+6-3) 


``````````diff
diff --git a/.github/new-prs-labeler.yml b/.github/new-prs-labeler.yml
index 8e0fa8d42d735..837a1bfa5b627 100644
--- a/.github/new-prs-labeler.yml
+++ b/.github/new-prs-labeler.yml
@@ -90,9 +90,6 @@ LTO:
   - llvm/lib/Transforms/*/FunctionImport*
   - llvm/tools/gold/**
 
-mc:
-  - llvm/*/MC/**
-
 clang:driver:
   - clang/*/Driver/**
 
@@ -621,6 +618,12 @@ llvm:adt:
 llvm:support:
   - llvm/**/Support/**
 
+# Skip llvm/test/MC, which includes target-specific directories
+llvm:mc:
+  - llvm/include/llvm/MC/**
+  - llvm/lib/MC/**
+  - llvm/tools/llvm-mc/**
+
 llvm:transforms:
   - llvm/lib/Transforms/**
   - llvm/include/llvm/Transforms/**

``````````

</details>


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


More information about the llvm-commits mailing list