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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
compiler-rt
/
test
/
profile
/
Inputs
/
instrprof-comdat-1.cpp
blob
bd574ec3fb89ed1fb73800bc94ef69f9d5c63bd6
1
#include
"instrprof-comdat.h"
2
int
g
;
3
extern
int
bar
(
int
);
4
5
int
main
() {
6
7
FOO
<
int
>
Foo
;
8
9
int
Res
=
Foo
.
DoIt
(
10
);
10
11
if
(
Res
>
10
)
12
g
=
bar
(
10
);
13
else
14
g
=
bar
(
1
) +
bar
(
2
);
15
return
0
;
16
}
17