repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
LoopSimplify
/
basictest.ll
blob
4241d8ad08957e4a79de525cc9649b554be16946
1
; RUN: opt < %s -loopsimplify
2
3
; This function should get a preheader inserted before BB3, that is jumped
4
; to by BB1 & BB2
5
;
6
7
define void @test() {
8
br i1 true, label %BB1, label %BB2
9
BB1: ; preds = %0
10
br label %BB3
11
BB2: ; preds = %0
12
br label %BB3
13
BB3: ; preds = %BB3, %BB2, %BB1
14
br label %BB3
15
}
16