Skip to content

Commit

Permalink
[Clang][NFC] Clean up unused binary files for offloading tests (#87351)
Browse files Browse the repository at this point in the history
Summary:
We have a few binary files used for offloading tests that are either
entirely unused or easily replaceable.
  • Loading branch information
jhuber6 committed Apr 2, 2024
1 parent 2b6c038 commit 6626eab
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion clang/test/Driver/Inputs/in.so

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
Binary file not shown.
Empty file.
5 changes: 3 additions & 2 deletions clang/test/Driver/hip-link-shared-library.hip
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: touch %t.o
// RUN: touch %t.so
// RUN: %clang --hip-link -ccc-print-bindings --target=x86_64-linux-gnu \
// RUN: --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 %t.o %S/Inputs/in.so \
// RUN: --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 %t.o %t.so \
// RUN: --no-offload-new-driver -fgpu-rdc 2>&1 | FileCheck %s

// CHECK: # "x86_64-unknown-linux-gnu" - "offload bundler", inputs: ["[[IN:.*o]]"], outputs: ["[[HOSTOBJ:.*o]]", "{{.*o}}", "{{.*o}}"]
Expand All @@ -11,4 +12,4 @@
// CHECK-NOT: offload bundler
// CHECK: # "amdgcn-amd-amdhsa" - "AMDGCN::Linker", inputs: ["[[IMG1]]", "[[IMG2]]"], output: "[[FATBINOBJ:.*o]]"
// CHECK-NOT: offload bundler
// CHECK: # "x86_64-unknown-linux-gnu" - "GNU::Linker", inputs: ["[[HOSTOBJ]]", "{{.*}}/Inputs/in.so", "[[FATBINOBJ]]"], output: "a.out"
// CHECK: # "x86_64-unknown-linux-gnu" - "GNU::Linker", inputs: ["[[HOSTOBJ]]", "{{.*}}.so", "[[FATBINOBJ]]"], output: "a.out"
3 changes: 1 addition & 2 deletions clang/test/Driver/openmp-offload-gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@
// RUN: | FileCheck %s --check-prefix=CHECK-EMIT-LLVM-IR-BC
// CHECK-EMIT-LLVM-IR-BC: "-cc1"{{.*}}"-triple" "nvptx64-nvidia-cuda"{{.*}}"-emit-llvm-bc"

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

Expand Down

0 comments on commit 6626eab

Please sign in to comment.