llvm.org GIT mirror llvm / d4fca27
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32335 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 27 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc64 &&
1 ; RUN: llvm-as < %s | llc -march=ppc32 &&
2 ; RUN: llvm-as < %s | llc
3
4 %qsz.b = external global bool ; [#uses=1]
5
6 implementation ; Functions:
7
8 fastcc void %qst() {
9 entry:
10 br bool true, label %cond_next71, label %cond_true
11
12 cond_true: ; preds = %entry
13 ret void
14
15 cond_next71: ; preds = %entry
16 %tmp73.b = load bool* %qsz.b ; [#uses=1]
17 %ii.4.ph = select bool %tmp73.b, ulong 4, ulong 0 ; [#uses=1]
18 br label %bb139
19
20 bb82: ; preds = %bb139
21 ret void
22
23 bb139: ; preds = %bb139, %cond_next71
24 %exitcond89 = seteq ulong 0, %ii.4.ph ; [#uses=1]
25 br bool %exitcond89, label %bb82, label %bb139
26 }