From 62c3c1cad78b3354432fe44285f3472d9c93a45a Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 15 Nov 2024 08:04:59 -0500 Subject: Revert "[Driver][SYCL] Add initial SYCL offload compilation support" (#116381) Reverts llvm/llvm-project#107493 Failing bots include: https://lab.llvm.org/buildbot/#/builders/190/builds/9546 https://lab.llvm.org/buildbot/#/builders/46/builds/7938 --- clang/lib/Driver/Compilation.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'clang/lib/Driver/Compilation.cpp') diff --git a/clang/lib/Driver/Compilation.cpp b/clang/lib/Driver/Compilation.cpp index 5731549..ad077d5 100644 --- a/clang/lib/Driver/Compilation.cpp +++ b/clang/lib/Driver/Compilation.cpp @@ -217,11 +217,10 @@ static bool ActionFailed(const Action *A, if (FailingCommands.empty()) return false; - // CUDA/HIP/SYCL can have the same input source code compiled multiple times - // so do not compile again if there are already failures. It is OK to abort - // the CUDA/HIP/SYCL pipeline on errors. - if (A->isOffloading(Action::OFK_Cuda) || A->isOffloading(Action::OFK_HIP) || - A->isOffloading(Action::OFK_SYCL)) + // CUDA/HIP can have the same input source code compiled multiple times so do + // not compiled again if there are already failures. It is OK to abort the + // CUDA pipeline on errors. + if (A->isOffloading(Action::OFK_Cuda) || A->isOffloading(Action::OFK_HIP)) return true; for (const auto &CI : FailingCommands) -- cgit v1.1