[clang] 7b2e009 - [clang] Robustify openmp test (#69739)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 04:39:49 PDT 2023
Author: Nathan Sidwell
Date: 2023-10-30T07:39:45-04:00
New Revision: 7b2e0095bccb2f63e6b6cc8b8e524d206ebf8d69
URL: https://github.com/llvm/llvm-project/commit/7b2e0095bccb2f63e6b6cc8b8e524d206ebf8d69
DIFF: https://github.com/llvm/llvm-project/commit/7b2e0095bccb2f63e6b6cc8b8e524d206ebf8d69.diff
LOG: [clang] Robustify openmp test (#69739)
If the source path contains 'alias' this would spuriously fail. Be more
specific about not wanting global aliases
Added:
Modified:
clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
Removed:
################################################################################
diff --git a/clang/test/OpenMP/declare_variant_device_kind_codegen.cpp b/clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
index daa14f1e3a93129..4f9a86f1e0080d9 100644
--- a/clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
+++ b/clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
@@ -80,7 +80,8 @@
// expected-no-diagnostics
-// CHECK-NOT: alias
+// Verify no unexpected global symbol aliasing
+// CHECK-NOT: @{{[^ ]+}} = {{.*}}alias
// CHECK-NOT: ret i32 {{1|4|81|84}}
// CHECK-DAG: declare {{.*}}i32 @_Z5bazzzv()
More information about the cfe-commits
mailing list