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]
/
bolt
/
test
/
X86
/
Inputs
/
linenumber.cpp
blob
8a754b9a98235fb86b5537ee59b6a103823184a9
1
int
f
() {
2
// This will be removed by BOLT but they make sure we have some extra space
3
// to insert branches and don't run out of space when rewritting the function.
4
asm
(
"nop"
);
5
asm
(
"nop"
);
6
asm
(
"nop"
);
7
asm
(
"nop"
);
8
asm
(
"nop"
);
9
int
x
=
0xBEEF
;
10
if
(
x
&
0x32
) {
11
x
++;
12
}
else
{
13
--
x
;
14
}
15
return
x
;
16
}
17
18
int
g
() {
19
return
f
() +
1
;
20
}
21
22
int
main
() {
23
int
q
=
g
() *
f
();
24
return
0
;
25
}