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

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
This commit is contained in:
Fangrui Song 2025-08-15 18:23:24 -07:00 committed by GitHub
parent 3e5d8a1439
commit e342dcd589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 and llvm/unittests/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/**