Skip to content

Commit c289bce

Browse files
committed
Revert "[OpenMP][OpenACC] Disable the unsupported -fopenacc option"
This reverts commit fc76b6f.
1 parent 229ca95 commit c289bce

26 files changed

+4
-51
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,10 +1401,9 @@ def fno_hip_emit_relocatable : Flag<["-"], "fno-hip-emit-relocatable">,
14011401
}
14021402

14031403
// Clang specific/exclusive options for OpenACC.
1404-
// Unsupported on AMD downstream
14051404
def openacc_macro_override
14061405
: Separate<["-"], "fexperimental-openacc-macro-override">,
1407-
Visibility<[]>,
1406+
Visibility<[ClangOption, CC1Option]>,
14081407
Group<f_Group>,
14091408
HelpText<"Overrides the _OPENACC macro value for experimental testing "
14101409
"during OpenACC support development">;

clang/test/AST/ast-print-openacc-combined-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -Wno-openacc-deprecated-clause-alias -ast-print %s -o - | FileCheck %s
42

53
constexpr int get_value() { return 1; }

clang/test/AST/ast-print-openacc-compute-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -Wno-openacc-deprecated-clause-alias -ast-print %s -o - | FileCheck %s
42

53
void foo() {

clang/test/AST/ast-print-openacc-data-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -Wno-openacc-deprecated-clause-alias -Wno-source-uses-openacc -ast-print %s -o - | FileCheck %s
42

53
void foo() {

clang/test/AST/ast-print-openacc-init-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -ast-print %s -o - | FileCheck %s
42

53
unsigned Int;

clang/test/AST/ast-print-openacc-loop-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -Wno-openacc-deprecated-clause-alias -ast-print %s -o - | FileCheck %s
42

53
struct SomeStruct{};

clang/test/AST/ast-print-openacc-set-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -ast-print %s -o - | FileCheck %s
42

53
unsigned Int;

clang/test/AST/ast-print-openacc-shutdown-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -ast-print %s -o - | FileCheck %s
42

53
unsigned Int;

clang/test/AST/ast-print-openacc-update-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -ast-print %s -o - | FileCheck %s
42
void uses(bool cond) {
53
int I;

clang/test/AST/ast-print-openacc-wait-construct.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// -fopenacc unsupported on AMD downstream
2-
// UNSUPPORTED: true
31
// RUN: %clang_cc1 -fopenacc -ast-print %s -o - | FileCheck %s
42

53
void uses() {

0 commit comments

Comments
 (0)