1 ; RUN: llc < %s -mtriple=i386-apple-darwin11 2 3 define void @_ZN4llvm20SelectionDAGLowering14visitInlineAsmENS_8CallSiteE() nounwind ssp align 2 { 4 entry: 5 br i1 undef, label %bb3.i, label %bb4.i 6 7 bb3.i: ; preds = %entry 8 unreachable 9 10 bb4.i: ; preds = %entry 11 br i1 undef, label %bb.i.i, label %_ZNK4llvm8CallSite14getCalledValueEv.exit 12 13 bb.i.i: ; preds = %bb4.i 14 unreachable 15 16 _ZNK4llvm8CallSite14getCalledValueEv.exit: ; preds = %bb4.i 17 br i1 undef, label %_ZN4llvm4castINS_9InlineAsmEPNS_5ValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit, label %bb6.i 18 19 bb6.i: ; preds = %_ZNK4llvm8CallSite14getCalledValueEv.exit 20 unreachable 21 22 _ZN4llvm4castINS_9InlineAsmEPNS_5ValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit: ; preds = %_ZNK4llvm8CallSite14getCalledValueEv.exit 23 br i1 undef, label %_ZL25hasInlineAsmMemConstraintRSt6vectorIN4llvm9InlineAsm14ConstraintInfoESaIS2_EERKNS0_14TargetLoweringE.exit, label %bb.i 24 25 bb.i: ; preds = %_ZN4llvm4castINS_9InlineAsmEPNS_5ValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit 26 br label %_ZL25hasInlineAsmMemConstraintRSt6vectorIN4llvm9InlineAsm14ConstraintInfoESaIS2_EERKNS0_14TargetLoweringE.exit 27 28 _ZL25hasInlineAsmMemConstraintRSt6vectorIN4llvm9InlineAsm14ConstraintInfoESaIS2_EERKNS0_14TargetLoweringE.exit: ; preds = %bb.i, %_ZN4llvm4castINS_9InlineAsmEPNS_5ValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit 29 br i1 undef, label %bb50, label %bb27 30 31 bb27: ; preds = %_ZL25hasInlineAsmMemConstraintRSt6vectorIN4llvm9InlineAsm14ConstraintInfoESaIS2_EERKNS0_14TargetLoweringE.exit 32 br i1 undef, label %bb1.i727, label %bb.i.i726 33 34 bb.i.i726: ; preds = %bb27 35 unreachable 36 37 bb1.i727: ; preds = %bb27 38 unreachable 39 40 bb50: ; preds = %_ZL25hasInlineAsmMemConstraintRSt6vectorIN4llvm9InlineAsm14ConstraintInfoESaIS2_EERKNS0_14TargetLoweringE.exit 41 br label %bb107 42 43 bb51: ; preds = %bb107 44 br i1 undef, label %bb105, label %bb106 45 46 bb105: ; preds = %bb51 47 unreachable 48 49 bb106: ; preds = %bb51 50 br label %bb107 51 52 bb107: ; preds = %bb106, %bb50 53 br i1 undef, label %bb108, label %bb51 54 55 bb108: ; preds = %bb107 56 br i1 undef, label %bb242, label %bb114 57 58 bb114: ; preds = %bb108 59 br i1 undef, label %bb141, label %bb116 60 61 bb116: ; preds = %bb114 62 br i1 undef, label %bb120, label %bb121 63 64 bb120: ; preds = %bb116 65 unreachable 66 67 bb121: ; preds = %bb116 68 unreachable 69 70 bb141: ; preds = %bb114 71 br i1 undef, label %bb182, label %bb143 72 73 bb143: ; preds = %bb141 74 br label %bb157 75 76 bb144: ; preds = %bb.i.i.i843 77 switch i32 undef, label %bb155 [ 78 i32 2, label %bb153 79 i32 6, label %bb153 80 i32 4, label %bb153 81 ] 82 83 bb153: ; preds = %bb144, %bb144, %bb144 84 %indvar.next = add i32 %indvar, 1 ; <i32> [#uses=1] 85 br label %bb157 86 87 bb155: ; preds = %bb144 88 unreachable 89 90 bb157: ; preds = %bb153, %bb143 91 %indvar = phi i32 [ %indvar.next, %bb153 ], [ 0, %bb143 ] ; <i32> [#uses=2] 92 %0 = icmp eq i32 undef, %indvar ; <i1> [#uses=1] 93 switch i16 undef, label %bb6.i841 [ 94 i16 9, label %_ZN4llvm4castINS_14ConstantSDNodeENS_7SDValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS5_.exit 95 i16 26, label %_ZN4llvm4castINS_14ConstantSDNodeENS_7SDValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS5_.exit 96 ] 97 98 bb6.i841: ; preds = %bb157 99 unreachable 100 101 _ZN4llvm4castINS_14ConstantSDNodeENS_7SDValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS5_.exit: ; preds = %bb157, %bb157 102 br i1 undef, label %bb.i.i.i843, label %bb1.i.i.i844 103 104 bb.i.i.i843: ; preds = %_ZN4llvm4castINS_14ConstantSDNodeENS_7SDValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS5_.exit 105 br i1 %0, label %bb158, label %bb144 106 107 bb1.i.i.i844: ; preds = %_ZN4llvm4castINS_14ConstantSDNodeENS_7SDValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS5_.exit 108 unreachable 109 110 bb158: ; preds = %bb.i.i.i843 111 br i1 undef, label %bb177, label %bb176 112 113 bb176: ; preds = %bb158 114 unreachable 115 116 bb177: ; preds = %bb158 117 br i1 undef, label %bb179, label %bb178 118 119 bb178: ; preds = %bb177 120 unreachable 121 122 bb179: ; preds = %bb177 123 unreachable 124 125 bb182: ; preds = %bb141 126 unreachable 127 128 bb242: ; preds = %bb108 129 unreachable 130 } 131