| Dan Gohman | 1880092 | 2009-09-11 18:01:28 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -loop-unswitch -disable-output | 
| Devang Patel | dd34d91 | 2007-07-31 08:04:17 +0000 | [diff] [blame] | 2 |  | 
|  | 3 | define i32 @main(i32 %argc, i8** %argv) { | 
|  | 4 | entry: | 
|  | 5 | %tmp1785365 = icmp ult i32 0, 100		; <i1> [#uses=1] | 
|  | 6 | br label %bb | 
|  | 7 |  | 
|  | 8 | bb:		; preds = %cond_true, %entry | 
|  | 9 | br i1 false, label %cond_true, label %cond_next | 
|  | 10 |  | 
|  | 11 | cond_true:		; preds = %bb | 
|  | 12 | br i1 %tmp1785365, label %bb, label %bb1788 | 
|  | 13 |  | 
|  | 14 | cond_next:		; preds = %bb | 
|  | 15 | %iftmp.1.0 = select i1 false, i32 0, i32 0		; <i32> [#uses=1] | 
|  | 16 | br i1 false, label %cond_true47, label %cond_next74 | 
|  | 17 |  | 
|  | 18 | cond_true47:		; preds = %cond_next | 
|  | 19 | %tmp53 = urem i32 %iftmp.1.0, 0		; <i32> [#uses=0] | 
|  | 20 | ret i32 0 | 
|  | 21 |  | 
|  | 22 | cond_next74:		; preds = %cond_next | 
|  | 23 | ret i32 0 | 
|  | 24 |  | 
|  | 25 | bb1788:		; preds = %cond_true | 
|  | 26 | ret i32 0 | 
|  | 27 | } |