aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Compilation.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2024-11-15 08:04:59 -0500
committerGitHub <noreply@github.com>2024-11-15 08:04:59 -0500
commit62c3c1cad78b3354432fe44285f3472d9c93a45a (patch)
tree6e4dcabe4672fa5e9ed50d8c864949296da16132 /clang/lib/Driver/Compilation.cpp
parentd33a5bfa6032486747a93d142a24498755f882c2 (diff)
downloadllvm-62c3c1cad78b3354432fe44285f3472d9c93a45a.zip
llvm-62c3c1cad78b3354432fe44285f3472d9c93a45a.tar.gz
llvm-62c3c1cad78b3354432fe44285f3472d9c93a45a.tar.bz2
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
Diffstat (limited to 'clang/lib/Driver/Compilation.cpp')
-rw-r--r--clang/lib/Driver/Compilation.cpp9
1 files changed, 4 insertions, 5 deletions
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)