Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Disable -fsycl-dead-args-optimization for separate compilation test #595

Merged
merged 1 commit into from
Dec 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion SYCL/AOT/multiple-devices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
//
// Produce object file, spirv, device images to combine these differently
// at link-time, thus testing various AOT-compiled images configurations
// RUN: %clangxx -fsycl %S/Inputs/aot.cpp -c -o %t.o
// Disable DAE when performing separate compilation here, as we are not
// using sycl-post-link to fully enable.
// RUN: %clangxx -fsycl -fno-sycl-dead-args-optimization %S/Inputs/aot.cpp -c -o %t.o
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64 %t.o -o %t.spv
// AOT-compile device binary images
// Neither of AOT tools can compile several files, hence, here is this
Expand Down