Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / cuda-ptxas-path.cu
blob09c6014a91a2edd09ec5cd2ae3b93374ad49df9c
1 // REQUIRES: x86-registered-target
2 // REQUIRES: nvptx-registered-target
4 // RUN: %clang -### --target=i386-unknown-linux \
5 // RUN:   --cuda-path=%S/Inputs/CUDA_80/usr/local/cuda \
6 // RUN:   --ptxas-path=/some/path/to/ptxas %s 2>&1 \
7 // RUN: | FileCheck %s
9 // CHECK-NOT: "ptxas"
10 // CHECK: "/some/path/to/ptxas"
11 // CHECK-SAME: "--gpu-name" "sm_35"