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
/
indirect_goto.c
blob
b781e9e03b6d44b40567a3111d64394399ad4421
1
int
main
(
int
argc
,
char
*
argv
[]) {
2
static const void
*
T1
[] = { &&
L1
, &&
L2
};
3
static const void
*
T2
[] = { &&
L2
, &&
L3
};
4
5
const void
**
T
= (
argc
>
1
) ?
T1
:
T2
;
6
7
int
i
=
0
;
8
9
L0
:
10
goto
*
T
[
argc
];
11
L1
:
12
++
i
;
13
L2
:
14
i
++;
15
L3
:
16
i
++;
17
return
i
;
18
}