64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
12 lines
290 B
LLVM
12 lines
290 B
LLVM
;; 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
|
|
}
|