1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | not grep jmp 2 ; rdar://6647639 3 4 %struct.FetchPlanHeader = type { i8*, i8*, i32, i8*, i8*, i8*, i8*, i8*, %struct.NSObject* (%struct.NSObject*, %struct.objc_selector*, ...)*, %struct.__attributeDescriptionFlags } 5 %struct.NSArray = type { %struct.NSObject } 6 %struct.NSAutoreleasePool = type { %struct.NSObject, i8*, i8*, i8*, i8* } 7 %struct.NSObject = type { %struct.NSObject* } 8 %struct.__attributeDescriptionFlags = type <{ i32 }> 9 %struct._message_ref_t = type { %struct.NSObject* (%struct.NSObject*, %struct._message_ref_t*, ...)*, %struct.objc_selector* } 10 %struct.objc_selector = type opaque 11 @"\01l_objc_msgSend_fixup_alloc" = external global %struct._message_ref_t, align 16 ; <%struct._message_ref_t*> [#uses=2] 12 13 define %struct.NSArray* @newFetchedRowsForFetchPlan_MT(%struct.FetchPlanHeader* %fetchPlan, %struct.objc_selector* %selectionMethod, %struct.NSObject* %selectionParameter) ssp personality i32 (...)* @__gxx_personality_v0 { 14 entry: 15 %0 = invoke %struct.NSObject* null(%struct.NSObject* null, %struct._message_ref_t* @"\01l_objc_msgSend_fixup_alloc") 16 to label %invcont unwind label %lpad ; <%struct.NSObject*> [#uses=1] 17 18 invcont: ; preds = %entry 19 %1 = invoke %struct.NSObject* (%struct.NSObject*, %struct.objc_selector*, ...) @objc_msgSend(%struct.NSObject* %0, %struct.objc_selector* null) 20 to label %invcont26 unwind label %lpad ; <%struct.NSObject*> [#uses=0] 21 22 invcont26: ; preds = %invcont 23 %2 = invoke %struct.NSObject* null(%struct.NSObject* null, %struct._message_ref_t* @"\01l_objc_msgSend_fixup_alloc") 24 to label %invcont27 unwind label %lpad ; <%struct.NSObject*> [#uses=0] 25 26 invcont27: ; preds = %invcont26 27 unreachable 28 29 lpad: ; preds = %invcont26, %invcont, %entry 30 %pool.1 = phi %struct.NSAutoreleasePool* [ null, %entry ], [ null, %invcont ], [ null, %invcont26 ] ; <%struct.NSAutoreleasePool*> [#uses=0] 31 %exn = landingpad {i8*, i32} 32 cleanup 33 unreachable 34 } 35 36 declare %struct.NSObject* @objc_msgSend(%struct.NSObject*, %struct.objc_selector*, ...) 37 38 declare i32 @__gxx_personality_v0(...) 39