133 lines · plain
1; RUN: llc -mtriple=x86_64-apple-macosx10.5.0 < %s2 3; rdar://129686644 5define void @t() nounwind uwtable ssp {6 br label %47 8; <label>:1 ; preds = %4, %29 ret void10 11; <label>:2 ; preds = %6, %5, %3, %212 switch i32 undef, label %2 [13 i32 1090573978, label %114 i32 1090573938, label %315 i32 1090573957, label %516 ]17 18; <label>:3 ; preds = %4, %219 br i1 undef, label %2, label %420 21; <label>:4 ; preds = %6, %5, %3, %022 switch i32 undef, label %11 [23 i32 1090573938, label %324 i32 1090573957, label %525 i32 1090573978, label %126 i32 165205179, label %627 ]28 29; <label>:5 ; preds = %4, %230 br i1 undef, label %2, label %431 32; <label>:6 ; preds = %433 %7 = icmp eq i32 undef, 59090183834 %8 = or i1 false, %735 %9 = or i1 true, %836 %10 = xor i1 %8, %937 br i1 %10, label %4, label %238 39; <label>:11 ; preds = %11, %440 br label %1141}42 43; PR1560844@global = external constant [2 x i8]45 46define void @PR15608() {47bb:48 br label %bb349 50bb1: ; No predecessors!51 %constexpr = ptrtoint ptr @global to i6452 %constexpr1 = zext i64 %constexpr to i38453 %constexpr2 = shl i384 %constexpr1, 19254 %constexpr3 = or i384 %constexpr2, 42526988190143652208716177155889614028955 %constexpr4 = lshr i384 %constexpr3, 12856 %constexpr5 = trunc i384 %constexpr4 to i12857 %constexpr6 = lshr i128 %constexpr5, 6458 %constexpr7 = trunc i128 %constexpr6 to i6459 %constexpr8 = zext i64 %constexpr7 to i19260 %constexpr9 = shl i192 %constexpr8, 6461 %constexpr10 = or i192 %constexpr9, 162 %constexpr11 = lshr i192 %constexpr10, 12863 %constexpr12 = trunc i192 %constexpr11 to i164 %constexpr13 = zext i1 %constexpr12 to i6465 %constexpr14 = xor i64 %constexpr13, 166 %constexpr15 = icmp ult i64 %constexpr14, 167 br i1 %constexpr15, label %bb2, label %bb368 69bb2: ; preds = %bb170 unreachable71 72bb3: ; preds = %bb1, %bb73 %constexpr16 = ptrtoint ptr @global to i6474 %constexpr17 = zext i64 %constexpr16 to i38475 %constexpr18 = shl i384 %constexpr17, 19276 %constexpr19 = or i384 %constexpr18, 42526988190143652208716177155889614028977 %constexpr20 = lshr i384 %constexpr19, 12878 %constexpr21 = trunc i384 %constexpr20 to i12879 %constexpr22 = lshr i128 %constexpr21, 6480 %constexpr23 = trunc i128 %constexpr22 to i6481 %constexpr24 = zext i64 %constexpr23 to i19282 %constexpr25 = shl i192 %constexpr24, 6483 %constexpr26 = or i192 %constexpr25, 184 %constexpr27 = lshr i192 %constexpr26, 12885 %constexpr28 = trunc i192 %constexpr27 to i186 %constexpr29 = and i192 %constexpr26, -34028236692093846346337460743176821145787 %constexpr30 = zext i1 %constexpr28 to i19288 %constexpr31 = shl i192 %constexpr30, 12889 %constexpr32 = or i192 %constexpr29, %constexpr3190 %constexpr33 = lshr i192 %constexpr32, 12891 %constexpr34 = trunc i192 %constexpr33 to i192 %constexpr35 = xor i1 %constexpr28, %constexpr3493 br i1 %constexpr35, label %bb7, label %phi.constexpr94 95phi.constexpr: ; preds = %bb396 %constexpr36 = ptrtoint ptr @global to i6497 %constexpr37 = zext i64 %constexpr36 to i38498 %constexpr38 = shl i384 %constexpr37, 19299 %constexpr39 = or i384 %constexpr38, 425269881901436522087161771558896140289100 %constexpr40 = lshr i384 %constexpr39, 128101 %constexpr41 = trunc i384 %constexpr40 to i128102 %constexpr42 = lshr i128 %constexpr41, 64103 %constexpr43 = trunc i128 %constexpr42 to i64104 %constexpr44 = zext i64 %constexpr43 to i192105 %constexpr45 = shl i192 %constexpr44, 64106 %constexpr46 = or i192 %constexpr45, 1107 %constexpr47 = and i192 %constexpr46, -340282366920938463463374607431768211457108 %constexpr48 = lshr i192 %constexpr46, 128109 %constexpr49 = trunc i192 %constexpr48 to i1110 %constexpr50 = zext i1 %constexpr49 to i192111 %constexpr51 = shl i192 %constexpr50, 128112 %constexpr52 = or i192 %constexpr47, %constexpr51113 %constexpr53 = lshr i192 %constexpr52, 128114 %constexpr54 = trunc i192 %constexpr53 to i1115 br label %bb4116 117bb4: ; preds = %phi.constexpr, %bb6118 %tmp = phi i1 [ true, %bb6 ], [ %constexpr54, %phi.constexpr ]119 br i1 false, label %bb8, label %bb5120 121bb5: ; preds = %bb4122 br i1 %tmp, label %bb8, label %bb6123 124bb6: ; preds = %bb5125 br i1 false, label %bb8, label %bb4126 127bb7: ; preds = %bb3128 unreachable129 130bb8: ; preds = %bb6, %bb5, %bb4131 unreachable132}133