mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-04 02:47:25 +00:00

Differential Revision: http://reviews.llvm.org/D18126 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266637 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|