1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
3 %struct.Handle = type { ptr }
4 %struct.JNI_ArgumentPusher = type { %struct.SignatureIterator, ptr }
5 %struct.JNI_ArgumentPusherArray = type { %struct.JNI_ArgumentPusher, ptr }
6 %struct.JavaCallArguments = type { [9 x i32], [9 x i32], ptr, ptr, i32, i32, i32 }
7 %struct.JvmtiEventEnabled = type { i64 }
8 %struct.KlassHandle = type { %struct.Handle }
9 %struct.SignatureIterator = type { ptr, %struct.KlassHandle, i32, i32, i32 }
10 %struct.instanceOopDesc = type { %struct.oopDesc }
11 %struct.oopDesc = type { ptr, ptr }
12 @.str = external constant [44 x i8] ; <ptr> [#uses=1]
14 ; CHECK: _ZN23JNI_ArgumentPusherArray7iterateEy
16 define void @_ZN23JNI_ArgumentPusherArray7iterateEy(ptr %this, i64 %fingerprint) nounwind {
20 bb22.preheader: ; preds = %bb113
23 bb32.preheader: ; preds = %bb113
26 bb42.preheader: ; preds = %bb113
29 bb52: ; preds = %bb113
32 bb62.preheader: ; preds = %bb113
35 bb72.preheader: ; preds = %bb113
38 bb82: ; preds = %bb113
41 bb93: ; preds = %bb113
44 bb103.preheader: ; preds = %bb113
47 bb113: ; preds = %bb113, %bb93, %bb82, %bb52, %entry
48 %fingerprint_addr.0.reg2mem.9 = phi i64 [ 0, %entry ], [ 0, %bb52 ], [ 0, %bb82 ], [ 0, %bb93 ], [ %tmp118, %bb113 ] ; <i64> [#uses=1]
49 tail call void @_Z28report_should_not_reach_herePKci( ptr @.str, i32 817 ) nounwind
50 %tmp118 = lshr i64 %fingerprint_addr.0.reg2mem.9, 4 ; <i64> [#uses=2]
51 %tmp21158 = and i64 %tmp118, 15 ; <i64> [#uses=1]
52 switch i64 %tmp21158, label %bb113 [
53 i64 1, label %bb22.preheader
55 i64 3, label %bb32.preheader
56 i64 4, label %bb42.preheader
57 i64 5, label %bb62.preheader
60 i64 8, label %bb103.preheader
61 i64 9, label %bb72.preheader
62 i64 10, label %UnifiedReturnBlock
65 UnifiedReturnBlock: ; preds = %bb113
69 declare void @_Z28report_should_not_reach_herePKci(ptr, i32)