Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / cuda-windows.cu
blob02d6a55808d1c624e444f7dd807b5420d256bda6
1 // REQUIRES: x86-registered-target
2 // REQUIRES: nvptx-registered-target
3 //
4 // RUN: %clang -v --target=i386-pc-windows-msvc \
5 // RUN:   --sysroot=%S/Inputs/CUDA-windows 2>&1 %s -### | FileCheck %s
6 // RUN: %clang -v --target=i386-pc-windows-mingw32 \
7 // RUN:   --sysroot=%S/Inputs/CUDA-windows 2>&1 %s -### | FileCheck %s
9 // CHECK: Found CUDA installation: {{.*}}/Inputs/CUDA-windows/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0
10 // CHECK: "-cc1" "-triple" "nvptx-nvidia-cuda"
11 // CHECK-SAME: "-fms-extensions"
12 // CHECK-SAME: "-fms-compatibility"
13 // CHECK-SAME: "-fms-compatibility-version=