Skip to content

Commit 6626eab

Browse files
authored
[Clang][NFC] Clean up unused binary files for offloading tests (#87351)
Summary: We have a few binary files used for offloading tests that are either entirely unused or easily replaceable.
1 parent 2b6c038 commit 6626eab

File tree

8 files changed

+4
-7
lines changed

8 files changed

+4
-7
lines changed

clang/test/Driver/Inputs/in.so

Lines changed: 0 additions & 1 deletion
This file was deleted.

clang/test/Driver/Inputs/libomptarget/libomptarget-new-nvptx-sm_35.bc

Lines changed: 0 additions & 1 deletion
This file was deleted.

clang/test/Driver/Inputs/libomptarget/libomptarget-new-nvptx-test.bc

Lines changed: 0 additions & 1 deletion
This file was deleted.

clang/test/Driver/Inputs/openmp_static_device_link/empty.o

Whitespace-only changes.
Binary file not shown.

clang/test/Driver/Inputs/openmp_static_device_link/libFatArchive.a

Whitespace-only changes.

clang/test/Driver/hip-link-shared-library.hip

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: touch %t.o
2+
// RUN: touch %t.so
23
// RUN: %clang --hip-link -ccc-print-bindings --target=x86_64-linux-gnu \
3-
// RUN: --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 %t.o %S/Inputs/in.so \
4+
// RUN: --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 %t.o %t.so \
45
// RUN: --no-offload-new-driver -fgpu-rdc 2>&1 | FileCheck %s
56

67
// CHECK: # "x86_64-unknown-linux-gnu" - "offload bundler", inputs: ["[[IN:.*o]]"], outputs: ["[[HOSTOBJ:.*o]]", "{{.*o}}", "{{.*o}}"]
@@ -11,4 +12,4 @@
1112
// CHECK-NOT: offload bundler
1213
// CHECK: # "amdgcn-amd-amdhsa" - "AMDGCN::Linker", inputs: ["[[IMG1]]", "[[IMG2]]"], output: "[[FATBINOBJ:.*o]]"
1314
// CHECK-NOT: offload bundler
14-
// CHECK: # "x86_64-unknown-linux-gnu" - "GNU::Linker", inputs: ["[[HOSTOBJ]]", "{{.*}}/Inputs/in.so", "[[FATBINOBJ]]"], output: "a.out"
15+
// CHECK: # "x86_64-unknown-linux-gnu" - "GNU::Linker", inputs: ["[[HOSTOBJ]]", "{{.*}}.so", "[[FATBINOBJ]]"], output: "a.out"

clang/test/Driver/openmp-offload-gpu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,7 @@
304304
// RUN: | FileCheck %s --check-prefix=CHECK-EMIT-LLVM-IR-BC
305305
// CHECK-EMIT-LLVM-IR-BC: "-cc1"{{.*}}"-triple" "nvptx64-nvidia-cuda"{{.*}}"-emit-llvm-bc"
306306

307-
// RUN: %clang -### -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -Xopenmp-target=nvptx64-nvida-cuda -march=sm_70 \
308-
// RUN: --libomptarget-nvptx-bc-path=%S/Inputs/libomptarget/libomptarget-new-nvptx-test.bc \
307+
// RUN: %clang -### -fopenmp=libomp --offload-arch=sm_89 \
309308
// RUN: -nogpulib %s -o openmp-offload-gpu 2>&1 \
310309
// RUN: | FileCheck -check-prefix=DRIVER_EMBEDDING %s
311310

0 commit comments

Comments
 (0)