33 lines · plain
1; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -regalloc=fast -optimize-regalloc=0 -relocation-model=pic | FileCheck %s2 3 %struct.NSError = type opaque4 %struct.NSManagedObjectContext = type opaque5 %struct.NSPersistentStoreCoordinator = type opaque6 %struct.NSString = type opaque7 %struct.NSURL = type opaque8 %struct._message_ref_t = type { ptr, ptr }9 %struct.objc_object = type { }10 %struct.objc_selector = type opaque11@"\01L_OBJC_MESSAGE_REF_2" = external global %struct._message_ref_t ; <ptr> [#uses=1]12@"\01L_OBJC_MESSAGE_REF_6" = external global %struct._message_ref_t ; <ptr> [#uses=1]13@NSXMLStoreType = external constant ptr ; <ptr> [#uses=1]14@"\01L_OBJC_MESSAGE_REF_5" = external global %struct._message_ref_t ; <ptr> [#uses=2]15@"\01L_OBJC_MESSAGE_REF_4" = external global %struct._message_ref_t ; <ptr> [#uses=1]16 17; TODO: KB: ORiginal test case was just checking it compiles; is this worth keeping?18; CHECK: managedObjectContextWithModelURL19; CHECK-NOT: blr20; CHECK: .cfi_endproc21 22define ptr @"+[ListGenerator(Private) managedObjectContextWithModelURL:storeURL:]"(ptr %self, ptr %_cmd, ptr %modelURL, ptr %storeURL) {23entry:24 %storeCoordinator = alloca ptr ; <ptr> [#uses=0]25 %tmp29 = call ptr (ptr, ptr, ...) null( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_2" ) ; <ptr> [#uses=0]26 %tmp34 = load ptr, ptr @NSXMLStoreType, align 8 ; <ptr> [#uses=1]27 %tmp37 = load ptr, ptr @"\01L_OBJC_MESSAGE_REF_5", align 8 ; <ptr> [#uses=1]28 %tmp42 = call ptr (ptr, ptr, ...) null( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_4", i32 1 ) ; <ptr> [#uses=1]29 %tmp45 = call ptr (ptr, ptr, ...) %tmp37( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_5", ptr %tmp42, ptr null ) ; <ptr> [#uses=1]30 %tmp48 = call ptr (ptr, ptr, ...) null( ptr null, ptr @"\01L_OBJC_MESSAGE_REF_6", ptr %tmp34, ptr null, ptr null, ptr %tmp45, ptr null ) ; <ptr> [#uses=0]31 unreachable32}33