1 ; RUN: llc < %s -mtriple=powerpc-apple-darwin 2 3 %struct.Handle = type { %struct.oopDesc** } 4 %struct.JNI_ArgumentPusher = type { %struct.SignatureIterator, %struct.JavaCallArguments* } 5 %struct.JNI_ArgumentPusherArray = type { %struct.JNI_ArgumentPusher, %struct.JvmtiEventEnabled* } 6 %struct.JavaCallArguments = type { [9 x i32], [9 x i32], i32*, i32*, i32, i32, i32 } 7 %struct.JvmtiEventEnabled = type { i64 } 8 %struct.KlassHandle = type { %struct.Handle } 9 %struct.SignatureIterator = type { i32 (...)**, %struct.KlassHandle, i32, i32, i32 } 10 %struct.instanceOopDesc = type { %struct.oopDesc } 11 %struct.oopDesc = type { %struct.instanceOopDesc*, %struct.instanceOopDesc* } 12 @.str = external constant [44 x i8] ; <[44 x i8]*> [#uses=1] 13 14 define void @_ZN23JNI_ArgumentPusherArray7iterateEy(%struct.JNI_ArgumentPusherArray* %this, i64 %fingerprint) nounwind { 15 entry: 16 br label %bb113 17 18 bb22.preheader: ; preds = %bb113 19 ret void 20 21 bb32.preheader: ; preds = %bb113 22 ret void 23 24 bb42.preheader: ; preds = %bb113 25 ret void 26 27 bb52: ; preds = %bb113 28 br label %bb113 29 30 bb62.preheader: ; preds = %bb113 31 ret void 32 33 bb72.preheader: ; preds = %bb113 34 ret void 35 36 bb82: ; preds = %bb113 37 br label %bb113 38 39 bb93: ; preds = %bb113 40 br label %bb113 41 42 bb103.preheader: ; preds = %bb113 43 ret void 44 45 bb113: ; preds = %bb113, %bb93, %bb82, %bb52, %entry 46 %fingerprint_addr.0.reg2mem.9 = phi i64 [ 0, %entry ], [ 0, %bb52 ], [ 0, %bb82 ], [ 0, %bb93 ], [ %tmp118, %bb113 ] ; <i64> [#uses=1] 47 tail call void @_Z28report_should_not_reach_herePKci( i8* getelementptr ([44 x i8]* @.str, i32 0, i32 0), i32 817 ) nounwind 48 %tmp118 = lshr i64 %fingerprint_addr.0.reg2mem.9, 4 ; <i64> [#uses=2] 49 %tmp21158 = and i64 %tmp118, 15 ; <i64> [#uses=1] 50 switch i64 %tmp21158, label %bb113 [ 51 i64 1, label %bb22.preheader 52 i64 2, label %bb52 53 i64 3, label %bb32.preheader 54 i64 4, label %bb42.preheader 55 i64 5, label %bb62.preheader 56 i64 6, label %bb82 57 i64 7, label %bb93 58 i64 8, label %bb103.preheader 59 i64 9, label %bb72.preheader 60 i64 10, label %UnifiedReturnBlock 61 ] 62 63 UnifiedReturnBlock: ; preds = %bb113 64 ret void 65 } 66 67 declare void @_Z28report_should_not_reach_herePKci(i8*, i32) 68