[llvm] [Github] Match backend:NVPTX files outside llvm/ (PR #221968)

Ayokunle Amodu via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 04:54:09 PDT 2026


https://github.com/ayokunle321 created https://github.com/llvm/llvm-project/pull/221968

The backend:NVPTX labeler rules are anchored to the llvm/ subtree (every glob starts with llvm/**), so NVPTX/NVVM-related files elsewhere in the tree never get the label. In particular, ClangIR's lowering under clang/ touches NVPTX code but the PR is not tagged backend:NVPTX.

This drops the llvm/ prefix so the patterns match anywhere in the tree.

>From a8691dad77909dc0e2771890050ab4342712bff8 Mon Sep 17 00:00:00 2001
From: Ayokunle Amodu <ayokunle321 at gmail.com>
Date: Tue, 8 Sep 2026 13:50:44 +0200
Subject: [PATCH] adjust nvptx matching

---
 .github/new-prs-labeler.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/new-prs-labeler.yml b/.github/new-prs-labeler.yml
index 71c62607455c9..a573d62296fea 100644
--- a/.github/new-prs-labeler.yml
+++ b/.github/new-prs-labeler.yml
@@ -1065,14 +1065,14 @@ backend:AMDGPU:
 backend:NVPTX:
   - changed-files:
     - any-glob-to-any-file:
-      - 'llvm/**/*nvvm*'
-      - 'llvm/**/*NVVM*'
-      - 'llvm/**/*nvptx*'
-      - 'llvm/**/*NVPTX*'
-      - 'llvm/**/*nvvm*/**'
-      - 'llvm/**/*NVVM*/**'
-      - 'llvm/**/*nvptx*/**'
-      - 'llvm/**/*NVPTX*/**'
+      - '**/*nvvm*'
+      - '**/*NVVM*'
+      - '**/*nvptx*'
+      - '**/*NVPTX*'
+      - '**/*nvvm*/**'
+      - '**/*NVVM*/**'
+      - '**/*nvptx*/**'
+      - '**/*NVPTX*/**'
 
 backend:MIPS:
   - changed-files:



More information about the llvm-commits mailing list