repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Analysis
/
CallGraph
/
printer.ll
blob
c177d3b9fb2c47e2f34ee2545109c335ad92ba13
1
; RUN: opt -S -passes=print-callgraph-sccs -disable-output < %s 2>&1 | FileCheck %s
2
; CHECK: SCC #1: g, f
3
; CHECK: SCC #2: h
4
; CHECK: SCC #3: external node
5
6
define void @f() {
7
call void @g()
8
ret void
9
}
10
11
define void @g() {
12
call void @f()
13
ret void
14
}
15
16
define void @h() {
17
call void @f()
18
ret void
19
}