49 lines · plain
1; RUN: llc < %s -mtriple=i686--2 3 %0 = type { %struct.GAP } ; type %04 %1 = type { i16, i8, i8 } ; type %15 %2 = type { [2 x i32], [2 x i32] } ; type %26 %3 = type { ptr } ; type %37 %struct.FILE_POS = type { i8, i8, i16, i32 }8 %struct.FIRST_UNION = type { %struct.FILE_POS }9 %struct.FOURTH_UNION = type { %struct.STYLE }10 %struct.GAP = type { i8, i8, i16 }11 %struct.LIST = type { ptr, ptr }12 %struct.SECOND_UNION = type { %1 }13 %struct.STYLE = type { %0, %0, i16, i16, i32 }14 %struct.THIRD_UNION = type { %2 }15 %struct.head_type = type { [2 x %struct.LIST], %struct.FIRST_UNION, %struct.SECOND_UNION, %struct.THIRD_UNION, %struct.FOURTH_UNION, ptr, %3, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }16 %struct.rec = type { %struct.head_type }17 18define fastcc void @MinSize(ptr %x) nounwind {19entry:20 %tmp13 = load i8, ptr undef, align 4 ; <i8> [#uses=3]21 %tmp14 = zext i8 %tmp13 to i32 ; <i32> [#uses=2]22 switch i32 %tmp14, label %bb1109 [23 i32 42, label %bb24624 ]25 26bb246: ; preds = %entry, %entry27 switch i8 %tmp13, label %bb249 [28 i8 42, label %bb26929 i8 44, label %bb26930 ]31 32bb249: ; preds = %bb24633 %tmp3240 = icmp eq i8 %tmp13, 0 ; <i1> [#uses=1]34 br i1 %tmp3240, label %bb974, label %bb26935 36bb269:37 %tmp3424 = getelementptr %struct.rec, ptr %x, i32 0, i32 0, i32 0, i32 0, i32 1 ; <ptr> [#uses=0]38 unreachable39 40bb974:41 unreachable42 43bb1109: ; preds = %entry44 call fastcc void @Image(i32 %tmp14) nounwind ; <ptr> [#uses=0]45 unreachable46}47 48declare fastcc void @Image(i32) nounwind49