1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Transforms/SyntheticCountsPropagation/scc.ll
Eric Christopher a62270de2c Revert "Temporarily Revert "Add basic loop fusion pass.""
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
2019-04-17 04:52:47 +00:00

20 lines
413 B
LLVM

; RUN: opt -passes=synthetic-counts-propagation -S < %s | FileCheck %s
; CHECK-LABEL: define void @foo()
; CHECK: !prof ![[COUNT1:[0-9]+]]
define void @foo() {
call void @bar()
ret void
}
; CHECK-LABEL: define void @bar() #0
; CHECK: !prof ![[COUNT1]]
define void @bar() #0 {
call void @foo()
ret void
}
attributes #0 = {inlinehint}
; CHECK: ![[COUNT1]] = !{!"synthetic_function_entry_count", i64 25}