[libclc] [libclc][test] Fix a regression in libclc/test/work-item/get_group_id.cl (PR #228621)
Tulio Magno Quites Machado Filho via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 2 16:50:40 PDT 2026
https://github.com/tuliom created https://github.com/llvm/llvm-project/pull/228621
Add a missing noundef in libclc/test/work-item/get_group_id.cl from a recent commit.
Fixes: 552ea17e0a93 ([ValueTracking] Handle zext/sext in computeConstantRange (#227726), 2026-09-30)
>From 0bf0def5e12e5d6b1d9641639dd6b6fd759b1d94 Mon Sep 17 00:00:00 2001
From: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: Fri, 2 Oct 2026 20:44:29 -0300
Subject: [PATCH] [libclc][test] Fix a regression in
libclc/test/work-item/get_group_id.cl
Add a missing noundef in libclc/test/work-item/get_group_id.cl from a
recent commit.
Fixes: 552ea17e0a93 ([ValueTracking] Handle zext/sext in computeConstantRange (#227726), 2026-09-30)
---
libclc/test/work-item/get_group_id.cl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libclc/test/work-item/get_group_id.cl b/libclc/test/work-item/get_group_id.cl
index 90ea18124d43e78..1497768744d4707 100644
--- a/libclc/test/work-item/get_group_id.cl
+++ b/libclc/test/work-item/get_group_id.cl
@@ -3,7 +3,7 @@
// RUN: %clang --target=%target -mcpu=%cpu %libclc_lib -cl-std=CL3.0 -O2 -fno-discard-value-names -emit-llvm -S -o - %s | FileCheck %s --check-prefix=%check_prefix
-// AMDGCN-LABEL: define hidden range(i64 0, 4294967296) i64 @test(
+// AMDGCN-LABEL: define hidden noundef range(i64 0, 4294967296) i64 @test(
// AMDGCN-SAME: ) local_unnamed_addr #[[ATTR0:[0-9]+]] {
// AMDGCN-NEXT: [[ENTRY:.*:]]
// AMDGCN-NEXT: [[TMP0:%.*]] = tail call i32 @llvm.amdgcn.workgroup.id.x()
More information about the cfe-commits
mailing list