Fix typo.
[oota-llvm.git] / test / CodeGen / PowerPC / 2007-10-21-LocalRegAllocAssert2.ll
1 ; RUN: llc < %s -mtriple=powerpc64-apple-darwin9 -regalloc=fast -optimize-regalloc=0 -relocation-model=pic
2
3         %struct.NSError = type opaque
4         %struct.NSManagedObjectContext = type opaque
5         %struct.NSString = type opaque
6         %struct.NSURL = type opaque
7         %struct._message_ref_t = type { %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*, %struct.objc_selector* }
8         %struct.objc_object = type {  }
9         %struct.objc_selector = type opaque
10 @"\01L_OBJC_MESSAGE_REF_2" = external global %struct._message_ref_t             ; <%struct._message_ref_t*> [#uses=2]
11 @"\01L_OBJC_MESSAGE_REF_6" = external global %struct._message_ref_t             ; <%struct._message_ref_t*> [#uses=2]
12 @NSXMLStoreType = external constant %struct.NSString*           ; <%struct.NSString**> [#uses=1]
13 @"\01L_OBJC_MESSAGE_REF_4" = external global %struct._message_ref_t             ; <%struct._message_ref_t*> [#uses=2]
14
15 define %struct.NSManagedObjectContext* @"+[ListGenerator(Private) managedObjectContextWithModelURL:storeURL:]"(%struct.objc_object* %self, %struct._message_ref_t* %_cmd, %struct.NSURL* %modelURL, %struct.NSURL* %storeURL) {
16 entry:
17         %tmp27 = load %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*, %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)** getelementptr (%struct._message_ref_t, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_2", i32 0, i32 0), align 8         ; <%struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*> [#uses=1]
18         %tmp29 = call %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...) %tmp27( %struct.objc_object* null, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_2" )         ; <%struct.objc_object*> [#uses=0]
19         %tmp33 = load %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*, %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)** getelementptr (%struct._message_ref_t, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_6", i32 0, i32 0), align 8         ; <%struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*> [#uses=1]
20         %tmp34 = load %struct.NSString*, %struct.NSString** @NSXMLStoreType, align 8            ; <%struct.NSString*> [#uses=1]
21         %tmp40 = load %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*, %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)** getelementptr (%struct._message_ref_t, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_4", i32 0, i32 0), align 8         ; <%struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...)*> [#uses=1]
22         %tmp42 = call %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...) %tmp40( %struct.objc_object* null, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_4", i32 1 )          ; <%struct.objc_object*> [#uses=0]
23         %tmp48 = call %struct.objc_object* (%struct.objc_object*, %struct._message_ref_t*, ...) %tmp33( %struct.objc_object* null, %struct._message_ref_t* @"\01L_OBJC_MESSAGE_REF_6", %struct.NSString* %tmp34, i8* null, %struct.NSURL* null, %struct.objc_object* null, %struct.NSError** null )             ; <%struct.objc_object*> [#uses=0]
24         unreachable
25 }