Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / hip-gz-options.hip
blob8fba391c08b064cc3acc3944627f1b80b93ba178
1 // REQUIRES: zlib, amdgpu-registered-target
3 // RUN: %clang -### --target=x86_64-unknown-linux-gnu \
4 // RUN:    --offload-arch=gfx906 %s -nogpulib -nogpuinc \
5 // RUN:   -ggdb -gz=zlib 2>&1 | FileCheck %s
7 // RUN: %clang -### --target=x86_64-unknown-linux-gnu \
8 // RUN:   -fgpu-rdc --offload-arch=gfx906 %s -nogpulib -nogpuinc \
9 // RUN:   -ggdb -gz=zlib 2>&1 | FileCheck %s
11 // CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
12 // CHECK-DAG: {{".*lld" .* "--compress-debug-sections=zlib"}}
13 // CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}}
14 // CHECK: "--compress-debug-sections=zlib"