Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=ppc64 |
| 2 | ; RUN: llc < %s -march=ppc32 |
| 3 | ; RUN: llc < %s |
Chris Lattner | d4fca27 | 2006-12-07 22:36:14 +0000 | [diff] [blame] | 4 | |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 5 | @qsz.b = external global i1 ; <i1*> [#uses=1] |
Chris Lattner | d4fca27 | 2006-12-07 22:36:14 +0000 | [diff] [blame] | 6 | |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 7 | define fastcc void @qst() { |
Chris Lattner | d4fca27 | 2006-12-07 22:36:14 +0000 | [diff] [blame] | 8 | entry: |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 9 | br i1 true, label %cond_next71, label %cond_true |
| 10 | cond_true: ; preds = %entry |
| 11 | ret void |
| 12 | cond_next71: ; preds = %entry |
| 13 | %tmp73.b = load i1* @qsz.b ; <i1> [#uses=1] |
| 14 | %ii.4.ph = select i1 %tmp73.b, i64 4, i64 0 ; <i64> [#uses=1] |
| 15 | br label %bb139 |
| 16 | bb82: ; preds = %bb139 |
| 17 | ret void |
| 18 | bb139: ; preds = %bb139, %cond_next71 |
| 19 | %exitcond89 = icmp eq i64 0, %ii.4.ph ; <i1> [#uses=1] |
| 20 | br i1 %exitcond89, label %bb82, label %bb139 |
Chris Lattner | d4fca27 | 2006-12-07 22:36:14 +0000 | [diff] [blame] | 21 | } |
Tanya Lattner | 6f729d6 | 2008-03-25 04:26:08 +0000 | [diff] [blame] | 22 | |