blob: 4bc57ec6ef007943356e2d1999cc854d929c99eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
;; No instrumentation should be emitted if there are no counter increments.
; RUN: opt < %s -instrprof -S | FileCheck %s
; RUN: opt < %s -passes=instrprof -S | FileCheck %s
; CHECK-NOT: @__profc
; CHECK-NOT: @__profd
; CHECK-NOT: @__llvm_profile_runtime
define void @foo() {
ret void
}
|