blob: 3539ce432cc8095e941543b55124da5473937314 [file] [log] [blame]
Justin Bogner61ba2e32014-12-08 18:02:35 +00001;; No instrumentation should be emitted if there are no counter increments.
2
3; RUN: opt < %s -instrprof -S | FileCheck %s
Xinliang David Li08127472015-12-14 23:26:27 +00004; CHECK-NOT: @__prf_cn
5; CHECK-NOT: @__prf_dt
Justin Bogner61ba2e32014-12-08 18:02:35 +00006; CHECK-NOT: @__llvm_profile_runtime
7
8define void @foo() {
9 ret void
10}