1; RUN: opt < %s -loop-unswitch -disable-output 2; PR1333 3 4define void @pp_cxx_expression() { 5entry: 6 %tmp6 = lshr i32 0, 24 ; <i32> [#uses=1] 7 br label %tailrecurse 8 9tailrecurse: ; preds = %tailrecurse, %tailrecurse, %entry 10 switch i32 %tmp6, label %bb96 [ 11 i32 24, label %bb10 12 i32 25, label %bb10 13 i32 28, label %bb10 14 i32 29, label %bb48 15 i32 31, label %bb48 16 i32 32, label %bb48 17 i32 33, label %bb48 18 i32 34, label %bb48 19 i32 36, label %bb15 20 i32 51, label %bb89 21 i32 52, label %bb89 22 i32 54, label %bb83 23 i32 57, label %bb59 24 i32 63, label %bb80 25 i32 64, label %bb80 26 i32 68, label %bb80 27 i32 169, label %bb75 28 i32 170, label %bb19 29 i32 171, label %bb63 30 i32 172, label %bb63 31 i32 173, label %bb67 32 i32 174, label %bb67 33 i32 175, label %bb19 34 i32 176, label %bb75 35 i32 178, label %bb59 36 i32 179, label %bb89 37 i32 180, label %bb59 38 i32 182, label %bb48 39 i32 183, label %bb48 40 i32 184, label %bb48 41 i32 185, label %bb48 42 i32 186, label %bb48 43 i32 195, label %bb48 44 i32 196, label %bb59 45 i32 197, label %bb89 46 i32 198, label %bb70 47 i32 199, label %bb59 48 i32 200, label %bb59 49 i32 201, label %bb59 50 i32 202, label %bb59 51 i32 203, label %bb75 52 i32 204, label %bb59 53 i32 205, label %tailrecurse 54 i32 210, label %tailrecurse 55 ] 56 57bb10: ; preds = %tailrecurse, %tailrecurse, %tailrecurse 58 ret void 59 60bb15: ; preds = %tailrecurse 61 ret void 62 63bb19: ; preds = %tailrecurse, %tailrecurse 64 ret void 65 66bb48: ; preds = %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse 67 ret void 68 69bb59: ; preds = %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse 70 ret void 71 72bb63: ; preds = %tailrecurse, %tailrecurse 73 ret void 74 75bb67: ; preds = %tailrecurse, %tailrecurse 76 ret void 77 78bb70: ; preds = %tailrecurse 79 ret void 80 81bb75: ; preds = %tailrecurse, %tailrecurse, %tailrecurse 82 ret void 83 84bb80: ; preds = %tailrecurse, %tailrecurse, %tailrecurse 85 ret void 86 87bb83: ; preds = %tailrecurse 88 ret void 89 90bb89: ; preds = %tailrecurse, %tailrecurse, %tailrecurse, %tailrecurse 91 ret void 92 93bb96: ; preds = %tailrecurse 94 ret void 95} 96