File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -verify -ast-dump %s | FileCheck %s
2
2
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -verify -ast-dump %s -x c++| FileCheck %s
3
3
// expected-no-diagnostics
4
- // XFAIL: *
5
-
6
4
// FIXME: We have to improve the warnings here as nothing is impacted by the declare variant.
7
5
int also_before (void ) {
8
6
return 0 ;
@@ -11,10 +9,10 @@ int also_before(void) {
11
9
#pragma omp begin declare variant match(device={kind(cpu)})
12
10
int also_before (void );
13
11
#pragma omp end declare variant
14
- #pragma omp begin declare variant match(implementation={vendor(score(100):llvm )})
12
+ #pragma omp begin declare variant match(implementation={vendor(score(100):amd )})
15
13
int also_after (void );
16
14
#pragma omp end declare variant
17
- #pragma omp begin declare variant match(implementation={vendor(score(0):llvm )})
15
+ #pragma omp begin declare variant match(implementation={vendor(score(0):amd )})
18
16
int also_before (void );
19
17
#pragma omp end declare variant
20
18
@@ -29,7 +27,7 @@ int test(void) {
29
27
30
28
// Make sure:
31
29
// - we do see the ast nodes for the cpu kind
32
- // - we do see the ast nodes for the llvm vendor
30
+ // - we do see the ast nodes for the amd vendor
33
31
// - we pick the right callees
34
32
35
33
// CHECK: |-FunctionDecl [[ADDR_0:0x[a-z0-9]*]] <{{.*}}, line:7:1> line:5:5 used also_before 'int ({{.*}})'
You can’t perform that action at this time.
0 commit comments