Skip to content

Commit c1ec9bc

Browse files
committed
move test
1 parent 6ccba02 commit c1ec9bc

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

clang/test/Driver/amdgpu-toolchain.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@
3232
// RUN: %clang -### --target=amdgcn-amd-amdhsa -mcpu=gfx906 -nogpulib \
3333
// RUN: -r %s 2>&1 | FileCheck -check-prefixes=RELO %s
3434
// RELO-NOT: -shared
35+
36+
// RUN: %clang -target amdgcn-amd-amdhsa -march=gfx90a -stdlib -startfiles \
37+
// RUN: -nogpulib -nogpuinc -### %s 2>&1 | FileCheck -check-prefix=STARTUP %s
38+
// STARTUP: ld.lld{{.*}}"-lc" "-lm" "{{.*}}crt1.o"

clang/test/Driver/cuda-cross-compiling.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,7 @@
105105
// RUN: | FileCheck -check-prefix=FEATURE %s
106106

107107
// FEATURE: clang-nvlink-wrapper{{.*}}"--feature" "+ptx63"
108+
109+
// RUN: %clang -target nvptx64-nvidia-cuda -march=sm_61 -stdlib -startfiles \
110+
// RUN: -nogpulib -nogpuinc -### %s 2>&1 | FileCheck -check-prefix=STARTUP %s
111+
// STARTUP: clang-nvlink-wrapper{{.*}}"-lc" "-lm" "{{.*}}crt1.o"

clang/test/Driver/gpustartfiles.c

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)