1 ; RUN: llvm-as < %s | llc -mtriple=powerpc-apple-darwin
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]
14 define void @_ZN23JNI_ArgumentPusherArray7iterateEy(%struct.JNI_ArgumentPusherArray* %this, i64 %fingerprint) nounwind {
18 bb22.preheader: ; preds = %bb113
21 bb32.preheader: ; preds = %bb113
24 bb42.preheader: ; preds = %bb113
27 bb52: ; preds = %bb113
30 bb62.preheader: ; preds = %bb113
33 bb72.preheader: ; preds = %bb113
36 bb82: ; preds = %bb113
39 bb93: ; preds = %bb113
42 bb103.preheader: ; preds = %bb113
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
53 i64 3, label %bb32.preheader
54 i64 4, label %bb42.preheader
55 i64 5, label %bb62.preheader
58 i64 8, label %bb103.preheader
59 i64 9, label %bb72.preheader
60 i64 10, label %UnifiedReturnBlock
63 UnifiedReturnBlock: ; preds = %bb113
67 declare void @_Z28report_should_not_reach_herePKci(i8*, i32)