Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4bbb39d

Browse files
committedMay 16, 2025·
[LinkerWrapper] Add check of llvm-link presence in intel's flow and add comment
1 parent ab35747 commit 4bbb39d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎clang/test/Driver/linker-wrapper.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ __attribute__((visibility("protected"), used)) int x;
5757
// RUN: not clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run \
5858
// RUN: --linker-path=/usr/bin/ld %t.o -o a.out 2>&1 | FileCheck %s --check-prefix=SPIRV-LINK-INTEL
5959

60+
// TODO: Remove SPIRV-LINK-INTEL once migration to community flow is completed.
6061
// SPIRV-LINK: clang{{.*}} -o {{.*}}.img --target=spirv64-unknown-unknown {{.*}}.o --sycl-link -Xlinker -triple=spirv64-unknown-unknown -Xlinker -arch=
61-
// SPIRV-LINK-INTEL:spirv-to-ir-wrapper{{.*}} -o {{.*}}.bc --llvm-spirv-opts --spirv-preserve-auxdata --spirv-target-env=SPV-IR --spirv-builtin-format=global
62+
// SPIRV-LINK-INTEL: spirv-to-ir-wrapper{{.*}} -o {{.*}}.bc --llvm-spirv-opts --spirv-preserve-auxdata --spirv-target-env=SPV-IR --spirv-builtin-format=global
63+
// SPIRV-LINK-INTEL: llvm-link{{.*}} {{.*}}.bc -o {{.*}}.bc --suppress-warnings
6264
//
6365
// RUN: clang-offload-packager -o %t.out \
6466
// RUN: --image=file=%t.elf.o,kind=openmp,triple=x86_64-unknown-linux-gnu \

0 commit comments

Comments
 (0)
Please sign in to comment.