[clang] [OpenMP][clang] Remove metadata checks in amdgcn_weak_alias.c (PR #170326)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 2 08:47:53 PST 2025


https://github.com/Jason-VanBeusekom created https://github.com/llvm/llvm-project/pull/170326

db686dc570e1b0246ba5c0f93127fc95c02de01e introduced the test amdgcn_weak_alias, which is failing on the reverse iteration build, due to the the order of the aliasees being different. This failure is a test issue, not a bug, so the metadata checks are removed.

>From d68558fe10fce5d6e03bf879c0776f477647d5d0 Mon Sep 17 00:00:00 2001
From: jason-van-beusekom <jason.van-beusekom at hpe.com>
Date: Tue, 2 Dec 2025 10:38:53 -0600
Subject: [PATCH] [OpenMP][clang] Remove metadata checks in amdgcn_weak_alias.c
 db686dc570e1b0246ba5c0f93127fc95c02de01e introduced the test
 amdgcn_weak_alias, which is failing on the reverse iteration build, due to
 the the order of the aliasees being different. This failure is a test issue,
 not a bug, so the metadata checks are removed.

---
 clang/test/OpenMP/amdgcn_weak_alias.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/clang/test/OpenMP/amdgcn_weak_alias.c b/clang/test/OpenMP/amdgcn_weak_alias.c
index a9d5c1737b321..33c7dc0041810 100644
--- a/clang/test/OpenMP/amdgcn_weak_alias.c
+++ b/clang/test/OpenMP/amdgcn_weak_alias.c
@@ -94,10 +94,3 @@ int Three(void) __attribute__ ((weak, alias("__Three")));
 int Three_(void) __attribute__ ((alias("__Three")));
 extern int __attribute__((weak, alias("__Three_var"))) Three_var;
 extern int __attribute__((alias("__Three_var"))) Three_var_;
-//.
-// HOST: [[META0:![0-9]+]] = !{i32 1, !"__Two_var", i32 0, i32 0}
-// HOST: [[META1:![0-9]+]] = !{i32 1, !"__Three_var", i32 0, i32 1}
-//.
-// DEVICE: [[META0:![0-9]+]] = !{i32 1, !"__Two_var", i32 0, i32 0}
-// DEVICE: [[META1:![0-9]+]] = !{i32 1, !"__Three_var", i32 0, i32 1}
-//.



More information about the cfe-commits mailing list