projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
There is no need to rely on LLI working for this test
[oota-llvm.git]
/
test
/
Transforms
/
ADCE
/
2003-11-16-MissingPostDominanceInfo.ll
1
; RUN: llvm-as < %s | opt -adce -simplifycfg | llvm-dis | grep call
2
declare void %exit(int)
3
4
int %main(int %argc) {
5
%C = seteq int %argc, 1
6
br bool %C, label %Cond, label %Done
7
8
Cond:
9
br bool %C, label %Loop, label %Done
10
11
Loop:
12
call void %exit(int 0)
13
br label %Loop
14
15
Done:
16
ret int 1
17
}