From b08abf4c808e98718b8806dafcae1626328676d4 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Wed, 29 Jul 2020 15:46:43 -0500 Subject: [PATCH] [OpenMP] Fix D83281 issue on windows by allowing `dso_local` in CHECK [2/1] The problem with 8723280b68b1e5ed97a699466720b36a32a9e406 was that the `dso_local` is *before* the void not after. Hope this works. --- clang/test/OpenMP/declare_variant_device_isa_codegen_1.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/clang/test/OpenMP/declare_variant_device_isa_codegen_1.c b/clang/test/OpenMP/declare_variant_device_isa_codegen_1.c index 25fc394..76a3eed 100644 --- a/clang/test/OpenMP/declare_variant_device_isa_codegen_1.c +++ b/clang/test/OpenMP/declare_variant_device_isa_codegen_1.c @@ -31,18 +31,18 @@ void avx512_saxpy(int n, float s, float *x, float *y) { } void caller(int n, float s, float *x, float *y) { - // GENERIC: define void {{.*}}caller - // GENERIC: call void {{.*}}base_saxpy - // WITHFEATURE: define void {{.*}}caller - // WITHFEATURE: call void {{.*}}avx512_saxpy + // GENERIC: define {{.*}}void @{{.*}}caller + // GENERIC: call void @{{.*}}base_saxpy + // WITHFEATURE: define {{.*}}void @{{.*}}caller + // WITHFEATURE: call void @{{.*}}avx512_saxpy base_saxpy(n, s, x, y); } __attribute__((target("avx512f"))) void variant_caller(int n, float s, float *x, float *y) { - // GENERIC: define void {{.*}}variant_caller - // GENERIC: call void {{.*}}avx512_saxpy - // WITHFEATURE: define void {{.*}}variant_caller - // WITHFEATURE: call void {{.*}}avx512_saxpy + // GENERIC: define {{.*}}void @{{.*}}variant_caller + // GENERIC: call void @{{.*}}avx512_saxpy + // WITHFEATURE: define {{.*}}void @{{.*}}variant_caller + // WITHFEATURE: call void @{{.*}}avx512_saxpy base_saxpy(n, s, x, y); } -- 2.7.4