projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Test case for PR1065.
[oota-llvm.git]
/
test
/
Transforms
/
LoopSimplify
/
basictest.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -loopsimplify
2
3
implementation
4
5
; This function should get a preheader inserted before BB3, that is jumped
6
; to by BB1 & BB2
7
;
8
void "test"()
9
begin
10
br bool true, label %BB1, label %BB2
11
BB1: br label %BB3
12
BB2: br label %BB3
13
14
15
BB3:
16
br label %BB3
17
end