brintos

brintos / llvm-project-archived public Read only

0
0
Text · 383 B · 86da694 Raw
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