https://github.com/saiislam edited
https://github.com/llvm/llvm-project/pull/122108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -68,15 +70,15 @@ int fun(int arg) {
{}
#pragma omp target map(mapper(aa :vv) //
expected-error {{use of undeclared identifier 'aa'}} expected-error {{expected
')'}} expected-error {{call to undeclared function 'mapper'}} expected-note
@@ -4,19 +4,19 @@
// RUN: %clang_cc1 -verify -std=c++11 -fopenmp -ast-print %s
-Wno-openmp-mapping -DOMP5 | FileCheck %s --check-prefix=CHECK
--check-prefix=OMP50
// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t %s -DOMP5
// RUN: %clang_cc1 -fopenmp -std=c++11 -i
@@ -25,16 +36,16 @@ __thread int t; // expected-note {{defined as threadprivate
or thread local}}
void f();
#pragma omp end declare target shared(a) // expected-warning {{extra tokens at
the end of '#pragma omp end declare target' are ignored}}
-#pragma omp declare target ma
@@ -63,22 +63,22 @@ class VV {
// CHECK-NEXT: int add(int a, int b) __attribute__((cold)){
// CHECK-NEXT: return a + b;
// CHECK-NEXT: }
- #pragma omp declare simd uniform(this, a) linear(val(b): a)
+ #pragma omp declare simd uniform(this, a) linear(b: a)
--
https://github.com/saiislam edited
https://github.com/llvm/llvm-project/pull/122108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/saiislam commented:
Thanks for the revising the PR. I have added some comments.
To unblock #119891, wouldn't it be sufficient that `-fopenmp-version=60`
becomes a valid value? Do we need to modify all these tests to test only this
flag?
https://github.com/llvm/llvm-project/
@@ -68,15 +70,15 @@ int fun(int arg) {
{}
#pragma omp target map(mapper(aa :vv) //
expected-error {{use of undeclared identifier 'aa'}} expected-error {{expected
')'}} expected-error {{call to undeclared function 'mapper'}} expected-note
https://github.com/saiislam approved this pull request.
Thanks, Joseph!
LGTM.
https://github.com/llvm/llvm-project/pull/132870
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
101 - 109 of 109 matches
Mail list logo