[clang] [Clang][SYCL] Introduce clang-sycl-linker to link SYCL offloading device code (Part 1 of many) (PR #112245)

Alexey Bader via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 18:06:05 PDT 2024


================
@@ -0,0 +1,42 @@
+// Tests the clang-sycl-linker tool.
+//
+// Test a simple case without arguments.
+// RUN: %clangxx -fsycl -emit-llvm -c %s -o %t.bc
----------------
bader wrote:

```suggestion
// RUN: %clangxx -emit-llvm -c %s -o %t.bc
```
`-fsycl` is useless here. We just need to create a file with LLVM magic number to make this test work.

https://github.com/llvm/llvm-project/pull/112245


More information about the cfe-commits mailing list