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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 20:55:20 PDT 2025


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

As a member of the llvm/pr-subscribers-llvm-mc team, 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

>From a2f3730acdef677d2ebcb7185454666ab74ef165 Mon Sep 17 00:00:00 2001
From: Fangrui Song <i at maskray.me>
Date: Thu, 14 Aug 2025 20:46:11 -0700
Subject: [PATCH] github: Add llvm:mc label for generic MC interface

As a member of the llvm/pr-subscribers-llvm-mc team, 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
---
 .github/new-prs-labeler.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/new-prs-labeler.yml b/.github/new-prs-labeler.yml
index 8e0fa8d42d735..d3e5d1c57ccde 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,10 @@ llvm:adt:
 llvm:support:
   - llvm/**/Support/**
 
+# Skip llvm/test/MC, which includes target-specific directories
+llvm:mc:
+  - llvm/lib/MC/**
+
 llvm:transforms:
   - llvm/lib/Transforms/**
   - llvm/include/llvm/Transforms/**



More information about the llvm-commits mailing list