Revert "[clang-sycl-linker] Fix flaky failure and add REQUIRES" (#134127)

Reverts llvm/llvm-project#134125
This commit is contained in:
Nick Sarnie 2025-04-02 13:44:23 -04:00 committed by GitHub
parent a57023b6a0
commit 540dd89778
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 9 deletions

View File

@ -1,7 +1,5 @@
// Tests the clang-sycl-linker tool.
//
// REQUIRES: spirv-registered-target
//
// Test the dry run of a simple case to link two input files.
// RUN: %clangxx -emit-llvm -c -target spirv64 %s -o %t_1.bc
// RUN: %clangxx -emit-llvm -c -target spirv64 %s -o %t_2.bc

View File

@ -1,5 +1,3 @@
# REQUIRES: spirv-registered-target
# RUN: llvm-as %S/Inputs/SYCL/foo.ll -o %t.foo.bc
# RUN: llvm-as %S/Inputs/SYCL/bar.ll -o %t.bar.bc
# RUN: llvm-as %S/Inputs/SYCL/baz.ll -o %t.baz.bc

View File

@ -1,8 +1,6 @@
// Tests the driver when linking LLVM IR bitcode files and targeting SPIR-V
// architecture.
//
// REQUIRES: spirv-registered-target
//
// Test that -Xlinker options are being passed to clang-sycl-linker.
// RUN: touch %t.bc
// RUN: %clangxx -### --target=spirv64 --sycl-link -Xlinker -triple=spirv64 -Xlinker --library-path=/tmp \

View File

@ -282,9 +282,6 @@ static Expected<StringRef> runSPIRVCodeGen(StringRef File, const ArgList &Args,
LLVMContext &C) {
llvm::TimeTraceScope TimeScope("SPIR-V code generation");
if (Error Err = M->materializeAll())
return std::move(Err);
// Parse input module.
SMDiagnostic Err;
std::unique_ptr<Module> M = parseIRFile(File, Err, C);