[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:48:29 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (Jason-VanBeusekom)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/170326.diff


1 Files Affected:

- (modified) clang/test/OpenMP/amdgcn_weak_alias.c (-7) 


``````````diff
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}
-//.

``````````

</details>


https://github.com/llvm/llvm-project/pull/170326


More information about the cfe-commits mailing list