1 ; RUN: llc < %s -mtriple=powerpc-apple-darwin 2 3 define fastcc i64 @nonzero_bits1() nounwind { 4 entry: 5 switch i32 0, label %bb1385 [ 6 i32 28, label %bb235 7 i32 35, label %bb153 8 i32 37, label %bb951 9 i32 40, label %bb289 10 i32 44, label %bb1344 11 i32 46, label %bb651 12 i32 47, label %bb651 13 i32 48, label %bb322 14 i32 49, label %bb651 15 i32 50, label %bb651 16 i32 51, label %bb651 17 i32 52, label %bb651 18 i32 53, label %bb651 19 i32 54, label %bb535 20 i32 55, label %bb565 21 i32 56, label %bb565 22 i32 58, label %bb1100 23 i32 59, label %bb1100 24 i32 60, label %bb1100 25 i32 61, label %bb1100 26 i32 63, label %bb565 27 i32 64, label %bb565 28 i32 65, label %bb565 29 i32 66, label %bb565 30 i32 73, label %bb302 31 i32 74, label %bb302 32 i32 75, label %bb302 33 i32 76, label %bb302 34 i32 77, label %bb302 35 i32 78, label %bb302 36 i32 79, label %bb302 37 i32 80, label %bb302 38 i32 81, label %bb302 39 i32 82, label %bb302 40 i32 83, label %bb302 41 i32 84, label %bb302 42 i32 85, label %bb302 43 i32 86, label %bb302 44 i32 87, label %bb302 45 i32 88, label %bb302 46 i32 89, label %bb302 47 i32 90, label %bb302 48 i32 91, label %bb507 49 i32 92, label %bb375 50 i32 93, label %bb355 51 i32 103, label %bb1277 52 i32 104, label %bb1310 53 i32 105, label %UnifiedReturnBlock 54 i32 106, label %bb1277 55 i32 107, label %bb1343 56 ] 57 bb153: ; preds = %entry 58 ret i64 0 59 bb235: ; preds = %entry 60 br i1 false, label %bb245, label %UnifiedReturnBlock 61 bb245: ; preds = %bb235 62 ret i64 0 63 bb289: ; preds = %entry 64 ret i64 0 65 bb302: ; preds = %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry 66 ret i64 0 67 bb322: ; preds = %entry 68 ret i64 0 69 bb355: ; preds = %entry 70 ret i64 0 71 bb375: ; preds = %entry 72 ret i64 0 73 bb507: ; preds = %entry 74 ret i64 0 75 bb535: ; preds = %entry 76 ret i64 0 77 bb565: ; preds = %entry, %entry, %entry, %entry, %entry, %entry 78 ret i64 0 79 bb651: ; preds = %entry, %entry, %entry, %entry, %entry, %entry, %entry 80 ret i64 0 81 bb951: ; preds = %entry 82 ret i64 0 83 bb1100: ; preds = %entry, %entry, %entry, %entry 84 ret i64 0 85 bb1277: ; preds = %entry, %entry 86 br i1 false, label %UnifiedReturnBlock, label %bb1284 87 bb1284: ; preds = %bb1277 88 ret i64 0 89 bb1310: ; preds = %entry 90 ret i64 0 91 bb1343: ; preds = %entry 92 ret i64 1 93 bb1344: ; preds = %entry 94 ret i64 0 95 bb1385: ; preds = %entry 96 ret i64 0 97 UnifiedReturnBlock: ; preds = %bb1277, %bb235, %entry 98 %UnifiedRetVal = phi i64 [ 0, %bb235 ], [ undef, %bb1277 ], [ -1, %entry ] ; <i64> [#uses=1] 99 ret i64 %UnifiedRetVal 100 } 101