blob: f200fc3857adeb8c26d2e75bc4cd42d1cfd956b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
; RUN: opt < %s -pgo-instr-gen -S -o - | FileCheck %s
define void @foo() {
entry:
br label %while.body
; CHECK: llvm.instrprof.increment
while.body: ; preds = %entry, %while.body
; CHECK: llvm.instrprof.increment
call void (...) @bar() #2
br label %while.body
}
declare void @bar(...)
attributes #0 = { nounwind }
|