Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / hip-syntax-only.hip
blob0fc53cf755ed2ade1be63d4190d33ea4fd68dc88
1 // REQUIRES: x86-registered-target
2 // REQUIRES: amdgpu-registered-target
4 // RUN: %clang -### -nogpulib -nogpuinc --target=x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
6 // Check that there are commands for both host- and device-side compilations.
7 //
8 // CHECK-DAG: "-cc1" {{.*}} "-fcuda-is-device"
9 // CHECK-DAG: "-cc1" "-triple" "x86_64"
10 // CHECK-NOT: clang-offload-bundler"