projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Put profile variables of COMDAT functions to it's own COMDAT group.
[oota-llvm.git]
/
test
/
Instrumentation
/
InstrProfiling
/
no-counters.ll
1
;; No instrumentation should be emitted if there are no counter increments.
2
3
; RUN: opt < %s -instrprof -S | FileCheck %s
4
; CHECK-NOT: @__llvm_profile_counters
5
; CHECK-NOT: @__llvm_profile_data
6
; CHECK-NOT: @__llvm_profile_runtime
7
8
define void @foo() {
9
ret void
10
}