crash_sim4b1.ll 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7
  2. 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-S128"
  3. target triple = "x86_64-apple-macosx10.8.0"
  4. %struct._exon_t.12.103.220.363.480.649.740.857.1039.1065.1078.1091.1117.1130.1156.1169.1195.1221.1234.1286.1299.1312.1338.1429.1455.1468.1494.1520.1884.1897.1975.2066.2105.2170.2171 = type { i32, i32, i32, i32, i32, i32, [8 x i8] }
  5. define void @SIM4() {
  6. entry:
  7. br i1 undef, label %return, label %lor.lhs.false
  8. lor.lhs.false: ; preds = %entry
  9. br i1 undef, label %return, label %if.end
  10. if.end: ; preds = %lor.lhs.false
  11. br i1 undef, label %for.end605, label %for.body.lr.ph
  12. for.body.lr.ph: ; preds = %if.end
  13. br label %for.body
  14. for.body: ; preds = %for.inc603, %for.body.lr.ph
  15. br i1 undef, label %for.inc603, label %if.end12
  16. if.end12: ; preds = %for.body
  17. br i1 undef, label %land.lhs.true, label %land.lhs.true167
  18. land.lhs.true: ; preds = %if.end12
  19. br i1 undef, label %if.then17, label %land.lhs.true167
  20. if.then17: ; preds = %land.lhs.true
  21. br i1 undef, label %if.end98, label %land.rhs.lr.ph
  22. land.rhs.lr.ph: ; preds = %if.then17
  23. unreachable
  24. if.end98: ; preds = %if.then17
  25. %from299 = getelementptr inbounds %struct._exon_t.12.103.220.363.480.649.740.857.1039.1065.1078.1091.1117.1130.1156.1169.1195.1221.1234.1286.1299.1312.1338.1429.1455.1468.1494.1520.1884.1897.1975.2066.2105.2170.2171, %struct._exon_t.12.103.220.363.480.649.740.857.1039.1065.1078.1091.1117.1130.1156.1169.1195.1221.1234.1286.1299.1312.1338.1429.1455.1468.1494.1520.1884.1897.1975.2066.2105.2170.2171* undef, i64 0, i32 1
  26. br i1 undef, label %land.lhs.true167, label %if.then103
  27. if.then103: ; preds = %if.end98
  28. %.sub100 = select i1 undef, i32 250, i32 undef
  29. %mul114 = shl nsw i32 %.sub100, 2
  30. %from1115 = getelementptr inbounds %struct._exon_t.12.103.220.363.480.649.740.857.1039.1065.1078.1091.1117.1130.1156.1169.1195.1221.1234.1286.1299.1312.1338.1429.1455.1468.1494.1520.1884.1897.1975.2066.2105.2170.2171, %struct._exon_t.12.103.220.363.480.649.740.857.1039.1065.1078.1091.1117.1130.1156.1169.1195.1221.1234.1286.1299.1312.1338.1429.1455.1468.1494.1520.1884.1897.1975.2066.2105.2170.2171* undef, i64 0, i32 0
  31. %cond125 = select i1 undef, i32 undef, i32 %mul114
  32. br label %for.cond.i
  33. for.cond.i: ; preds = %land.rhs.i874, %if.then103
  34. %row.0.i = phi i32 [ undef, %land.rhs.i874 ], [ %.sub100, %if.then103 ]
  35. %col.0.i = phi i32 [ undef, %land.rhs.i874 ], [ %cond125, %if.then103 ]
  36. br i1 undef, label %land.rhs.i874, label %for.end.i
  37. land.rhs.i874: ; preds = %for.cond.i
  38. br i1 undef, label %for.cond.i, label %for.end.i
  39. for.end.i: ; preds = %land.rhs.i874, %for.cond.i
  40. br i1 undef, label %if.then.i, label %if.end.i
  41. if.then.i: ; preds = %for.end.i
  42. %add14.i = add nsw i32 %row.0.i, undef
  43. %add15.i = add nsw i32 %col.0.i, undef
  44. br label %extend_bw.exit
  45. if.end.i: ; preds = %for.end.i
  46. %add16.i = add i32 %cond125, %.sub100
  47. %cmp26514.i = icmp slt i32 %add16.i, 0
  48. br i1 %cmp26514.i, label %for.end33.i, label %for.body28.lr.ph.i
  49. for.body28.lr.ph.i: ; preds = %if.end.i
  50. br label %for.end33.i
  51. for.end33.i: ; preds = %for.body28.lr.ph.i, %if.end.i
  52. br i1 undef, label %for.end58.i, label %for.body52.lr.ph.i
  53. for.body52.lr.ph.i: ; preds = %for.end33.i
  54. br label %for.end58.i
  55. for.end58.i: ; preds = %for.body52.lr.ph.i, %for.end33.i
  56. br label %while.cond260.i
  57. while.cond260.i: ; preds = %land.rhs263.i, %for.end58.i
  58. br i1 undef, label %land.rhs263.i, label %while.end275.i
  59. land.rhs263.i: ; preds = %while.cond260.i
  60. br i1 undef, label %while.cond260.i, label %while.end275.i
  61. while.end275.i: ; preds = %land.rhs263.i, %while.cond260.i
  62. br label %extend_bw.exit
  63. extend_bw.exit: ; preds = %while.end275.i, %if.then.i
  64. %add14.i1262 = phi i32 [ %add14.i, %if.then.i ], [ undef, %while.end275.i ]
  65. %add15.i1261 = phi i32 [ %add15.i, %if.then.i ], [ undef, %while.end275.i ]
  66. br i1 false, label %if.then157, label %land.lhs.true167
  67. if.then157: ; preds = %extend_bw.exit
  68. %add158 = add nsw i32 %add14.i1262, 1
  69. store i32 %add158, i32* %from299, align 4
  70. %add160 = add nsw i32 %add15.i1261, 1
  71. store i32 %add160, i32* %from1115, align 4
  72. br label %land.lhs.true167
  73. land.lhs.true167: ; preds = %if.then157, %extend_bw.exit, %if.end98, %land.lhs.true, %if.end12
  74. unreachable
  75. for.inc603: ; preds = %for.body
  76. br i1 undef, label %for.body, label %for.end605
  77. for.end605: ; preds = %for.inc603, %if.end
  78. unreachable
  79. return: ; preds = %lor.lhs.false, %entry
  80. ret void
  81. }