Skip to content

Commit 31adcd7

Browse files
mdtoguchiHaohaiWen
authored andcommitted
[Driver] Do not use -fopenmp-new-driver by default
1 parent 32aee39 commit 31adcd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6000,9 +6000,11 @@ void Driver::BuildActions(Compilation &C, DerivedArgList &Args,
60006000

60016001
llvm::SmallVector<phases::ID, phases::MaxNumberOfPhases> PL;
60026002

6003+
// TODO: Do not use the new offloading driver at this time. Offloading
6004+
// support for spir64 targets is not in place with this new path.
60036005
bool UseNewOffloadingDriver =
60046006
C.isOffloadingHostKind(Action::OFK_OpenMP) &&
6005-
!Args.hasArg(options::OPT_fno_openmp_new_driver);
6007+
Args.hasArg(options::OPT_fopenmp_new_driver);
60066008

60076009
for (auto &I : Inputs) {
60086010
types::ID InputType = I.first;

0 commit comments

Comments
 (0)