projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Spare '&' in the RUN line.
[oota-llvm.git]
/
test
/
Transforms
/
LoopSimplify
/
hardertest.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -loopsimplify
2
3
void %foo(bool %C) {
4
br bool %C, label %T, label %F
5
T:
6
br label %Loop
7
F:
8
br label %Loop
9
10
Loop: ; Two backedges, two incoming edges.
11
%Val = phi int [0, %T], [1, %F], [2, %Loop], [3, %L2]
12
13
br bool %C, label %Loop, label %L2
14
15
L2:
16
br label %Loop
17
}