1 ; RUN: opt < %s -passes='module(sancov-module)' -sanitizer-coverage-level=4 -sanitizer-coverage-trace-pc -sanitizer-coverage-prune-blocks=1 -S | FileCheck %s
3 define i32 @blah(i32) #0 {
4 %2 = icmp sgt i32 %0, 1
5 br i1 %2, label %branch, label %exit
6 ; CHECK: call void @__sanitizer_cov_trace_pc()
10 ; CHECK-LABEL: branch:
11 ; CHECK-NOT: call void @__sanitizer_cov_trace_pc()
16 ; CHECK-NOT: call void @__sanitizer_cov_trace_pc()
21 ; CHECK-NOT: call void @__sanitizer_cov_trace_pc()
26 ; CHECK: call void @__sanitizer_cov_trace_pc()
31 ; CHECK: call void @__sanitizer_cov_trace_pc()