2 ;; From: test/Programs/MultiSource/McCat-05-eks/QRfact.c
3 ;; Function: Matrix QRiterate(Matrix A, Matrix U)
5 ;; Error: llc produces an invalid register <NULL VALUE> for the
6 ;; phi argument %tmp.213 produced by fcmpd:
10 ;; !****** Outputing Function: QRiterate_1 ******
14 ;; .global QRiterate_1
15 ;; .type QRiterate_1, 2
17 ;; .L_QRiterate_1_LL_0:
18 ;; save %o6, -192, %o6
19 ;; brgz %i0, .L_QRiterate_1_LL_1
21 ;; ba .L_QRiterate_1_LL_2
24 ;; .L_QRiterate_1_LL_1:
25 ;; sethi %lm(LLVMGlobal__2), %o1
26 ;; sethi %hh(LLVMGlobal__2), %o0
27 ;; or %o0, %hm(LLVMGlobal__2), %o0
30 ;; or %o1, %lo(LLVMGlobal__2), %o1
32 ;; fcmpd %fcc0, %f2, %f32
33 ;; ba .L_QRiterate_1_LL_2
34 ;; add <NULL VALUE>, %g0, %o0
36 ;; .L_QRiterate_1_LL_2:
37 ;; brnz %o0, .L_QRiterate_1_LL_1
39 ;; ba .L_QRiterate_1_LL_3
42 ;; .L_QRiterate_1_LL_3:
44 ;; restore %g0, 0, %g0
46 ;; .EndOf_QRiterate_1:
47 ;; .size QRiterate_1, .EndOf_QRiterate_1-QRiterate_1
52 target pointersize = 64
54 implementation ; Functions:
56 internal void %QRiterate(int %p.1, double %tmp.212) {
57 entry: ; No predecessors!
58 %tmp.184 = setgt int %p.1, 0 ; <bool> [#uses=1]
59 br bool %tmp.184, label %shortcirc_next.1, label %shortcirc_done.1
61 shortcirc_next.1: ; preds = %entry
62 %tmp.213 = setne double %tmp.212, 0.000000e+00
63 br label %shortcirc_done.1
65 shortcirc_done.1: ; preds = %entry, %shortcirc_next.1
66 %val.1 = phi bool [ false, %entry ], [ %tmp.213, %shortcirc_next.1 ]
67 br bool %val.1, label %shortcirc_next.1, label %exit.1