[clang] 8723280 - [OpenMP] Fix D83281 issue on windows by allowing `dso_local` in CHECK

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 13:21:30 PDT 2020


Author: Johannes Doerfert
Date: 2020-07-29T15:18:20-05:00
New Revision: 8723280b68b1e5ed97a699466720b36a32a9e406

URL: https://github.com/llvm/llvm-project/commit/8723280b68b1e5ed97a699466720b36a32a9e406
DIFF: https://github.com/llvm/llvm-project/commit/8723280b68b1e5ed97a699466720b36a32a9e406.diff

LOG: [OpenMP] Fix D83281 issue on windows by allowing `dso_local` in CHECK

Added: 
    

Modified: 
    clang/test/OpenMP/declare_variant_device_isa_codegen_1.c

Removed: 
    


################################################################################
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 baa5eb8f8830..25fc3941dd50 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);
 }
 


        


More information about the cfe-commits mailing list