Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / Instrumentation / SanitizerCoverage / no-func.ll
blobeddff767c5bca697f88a2342a1a86d770bebed84
1 ; Tests that we don't insert __sanitizer_cov_trace_pc_guard_init or some such
2 ; when there is no instrumentation.
3 ; RUN: opt < %s -passes='module(sancov-module)' -sanitizer-coverage-level=3 -sanitizer-coverage-trace-pc-guard  -S | FileCheck %s
4 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-unknown-linux-gnu"
7 @a = global i32 0, align 4
9 ; CHECK-NOT: call void