8e12397d70
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
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
|
|
}
|