Tobias Grosser | 7580537 | 2011-04-29 06:27:02 +0000 | [diff] [blame] | 1 | ; ModuleID = '20110226-Ignore-dead-code.ll' |
| 2 | ; RUN: opt %loadPolly %defaultOpts -polly-codegen %s |
| 3 | target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" |
| 4 | target triple = "x86_64-unknown-linux-gnu" |
| 5 | |
| 6 | define void @main() nounwind { |
| 7 | .split: |
| 8 | br label %0 |
| 9 | |
| 10 | .loopexit.loopexit: ; preds = %.preheader.us |
| 11 | br label %.loopexit.simregexit |
| 12 | |
| 13 | .loopexit.simregexit: ; preds = %.loopexit.loopexit, %._crit_edge |
| 14 | br label %.loopexit |
| 15 | |
| 16 | .loopexit: ; preds = %.loopexit.simregexit |
| 17 | %indvar.next16 = add i64 %indvar15, 1 |
| 18 | %exitcond53 = icmp eq i64 %indvar.next16, 2048 |
| 19 | br i1 %exitcond53, label %2, label %0 |
| 20 | |
| 21 | ; <label>:0 ; preds = %.loopexit, %.split |
| 22 | %indvar15 = phi i64 [ 0, %.split ], [ %indvar.next16, %.loopexit ] |
| 23 | br label %.simregentry |
| 24 | |
| 25 | .simregentry: ; preds = %0 |
| 26 | %indvar15.ph = phi i64 [ %indvar15, %0 ] |
| 27 | %tmp67 = add i64 %indvar15, 1 |
| 28 | %i.06 = trunc i64 %tmp67 to i32 |
| 29 | %tmp25 = add i64 undef, 1 |
| 30 | %1 = icmp slt i32 %i.06, 2048 |
| 31 | br i1 %1, label %.lr.ph.preheader, label %._crit_edge.simregexit |
| 32 | |
| 33 | .lr.ph.preheader: ; preds = %.simregentry |
| 34 | br label %.lr.ph |
| 35 | |
| 36 | .lr.ph: ; preds = %.lr.ph, %.lr.ph.preheader |
| 37 | %indvar33 = phi i64 [ %indvar.next34, %.lr.ph ], [ 0, %.lr.ph.preheader ] |
| 38 | %indvar.next34 = add i64 %indvar33, 1 |
| 39 | %exitcond40 = icmp eq i64 %indvar.next34, 0 |
| 40 | br i1 %exitcond40, label %._crit_edge.loopexit, label %.lr.ph |
| 41 | |
| 42 | ._crit_edge.loopexit: ; preds = %.lr.ph |
| 43 | br label %._crit_edge.simregexit |
| 44 | |
| 45 | ._crit_edge.simregexit: ; preds = %.simregentry, %._crit_edge.loopexit |
| 46 | br label %._crit_edge |
| 47 | |
| 48 | ._crit_edge: ; preds = %._crit_edge.simregexit |
| 49 | br i1 false, label %.loopexit.simregexit, label %.preheader.us.preheader |
| 50 | |
| 51 | .preheader.us.preheader: ; preds = %._crit_edge |
| 52 | br label %.preheader.us |
| 53 | |
| 54 | .preheader.us: ; preds = %.preheader.us, %.preheader.us.preheader |
| 55 | %exitcond26.old = icmp eq i64 undef, %tmp25 |
| 56 | br i1 false, label %.loopexit.loopexit, label %.preheader.us |
| 57 | |
| 58 | ; <label>:2 ; preds = %.loopexit |
| 59 | ret void |
| 60 | } |