Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / hip-autolink.hip
blobbb0e58a186cddc6b176c7bde557961d65a80c7a8
1 // REQUIRES: x86-registered-target
2 // REQUIRES: amdgpu-registered-target
3 //
4 // RUN: %clang --target=i386-pc-windows-msvc --cuda-gpu-arch=gfx906 -nogpulib -nogpuinc \
5 // RUN:   --cuda-device-only %s -### 2>&1 | FileCheck --check-prefix=DEV %s
6 // RUN: %clang --target=i386-pc-windows-msvc --cuda-gpu-arch=gfx906 -nogpulib -nogpuinc \
7 // RUN:   --cuda-host-only %s -### 2>&1 | FileCheck --check-prefix=HOST %s
9 // DEV: "-cc1" "-triple" "amdgcn-amd-amdhsa"
10 // DEV-SAME: "-fno-autolink"
12 // HOST: "-cc1" "-triple" "i386-pc-windows-msvc{{.*}}"
13 // HOST-NOT: "-fno-autolink"