Fixed some bugs in register stack pass.
[llvm/zpu.git] / test / CodeGen / X86 / pr2623.ll
blob5d0eb5da2155bd50732c71ec24dc0a8b9ebb9b4b
1 ; RUN: llc < %s
2 ; PR2623
4 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
5 target triple = "i386-unknown-freebsd7.0"
6         %.objc_id = type { %.objc_id }*
7         %.objc_selector = type { i8*, i8* }*
8 @.objc_sel_ptr = external constant %.objc_selector              ; <%.objc_selector*> [#uses=1]
9 @.objc_sel_ptr13 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
10 @.objc_sel_ptr14 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
11 @.objc_sel_ptr15 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
12 @.objc_sel_ptr16 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
13 @.objc_sel_ptr17 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
14 @.objc_sel_ptr18 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
15 @.objc_sel_ptr19 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
16 @.objc_sel_ptr20 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
17 @.objc_sel_ptr21 = external constant %.objc_selector            ; <%.objc_selector*> [#uses=1]
19 @.objc_untyped_selector_alias = alias internal %.objc_selector* @.objc_sel_ptr15                ; <%.objc_selector*> [#uses=0]
20 @.objc_untyped_selector_alias1 = alias internal %.objc_selector* @.objc_sel_ptr         ; <%.objc_selector*> [#uses=0]
21 @.objc_untyped_selector_alias2 = alias internal %.objc_selector* @.objc_sel_ptr17               ; <%.objc_selector*> [#uses=0]
22 @.objc_untyped_selector_alias3 = alias internal %.objc_selector* @.objc_sel_ptr16               ; <%.objc_selector*> [#uses=0]
23 @.objc_untyped_selector_alias4 = alias internal %.objc_selector* @.objc_sel_ptr13               ; <%.objc_selector*> [#uses=0]
24 @.objc_untyped_selector_alias7 = alias internal %.objc_selector* @.objc_sel_ptr14               ; <%.objc_selector*> [#uses=0]
25 @getRange = alias internal %.objc_selector* @.objc_sel_ptr18            ; <%.objc_selector*> [#uses=0]
26 @"valueWithRange:" = alias internal %.objc_selector* @.objc_sel_ptr21           ; <%.objc_selector*> [#uses=0]
27 @rangeValue = alias internal %.objc_selector* @.objc_sel_ptr20          ; <%.objc_selector*> [#uses=0]
28 @"printRange:" = alias internal %.objc_selector* @.objc_sel_ptr19               ; <%.objc_selector*> [#uses=0]
30 define void @"._objc_method_SmalltalkTool()-run"(i8* %self, %.objc_selector %_cmd) {
31 entry:
32         br i1 false, label %small_int_messagerangeValue, label %real_object_messagerangeValue
34 small_int_messagerangeValue:            ; preds = %entry
35         br label %Continue
37 real_object_messagerangeValue:          ; preds = %entry
38         br label %Continue
40 Continue:               ; preds = %real_object_messagerangeValue, %small_int_messagerangeValue
41         %rangeValue = phi { i32, i32 } [ undef, %small_int_messagerangeValue ], [ undef, %real_object_messagerangeValue ]               ; <{ i32, i32 }> [#uses=1]
42         call void (%.objc_id, %.objc_selector, ...)* null( %.objc_id null, %.objc_selector null, { i32, i32 } %rangeValue )
43         ret void