18 lines · plain
1; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s2 3define void @foo() {4entry:5 br label %while.body6 ; CHECK: llvm.instrprof.increment7 8 while.body: ; preds = %entry, %while.body9 ; CHECK: llvm.instrprof.increment10 call void (...) @bar() #211 br label %while.body12}13 14declare void @bar(...)15 16attributes #0 = { nounwind }17 18