mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 17:46:40 +00:00
Revert "[clang-sycl-linker] Fix flaky failure and add REQUIRES" (#134127)
Reverts llvm/llvm-project#134125
This commit is contained in:
parent
a57023b6a0
commit
540dd89778
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user