1 ; This caused a problem because the argument of a call was defined by
2 ; the return value of another call that appears later in the code.
3 ; When processing the first call, the second call has not yet been processed
4 ; so no LiveRange has been created for its return value.
6 ; llc dies in UltraSparcRegInfo::suggestRegs4CallArgs() with:
7 ; ERROR: In call instr, no LR for arg: 0x1009e0740
9 implementation ; Functions:
11 declare int %getInt(int);
13 int %main(int %argc, sbyte** %argv) {
18 %reg222 = call int (int)* %getInt(int %reg218) ;; ARG #1 HAS NO LR
19 %reg110 = add int %reg222, 1
20 %b = setle int %reg110, 0
21 br bool %b, label %bb2, label %bb3
24 %reg218 = call int (int)* %getInt(int %argc) ;; THIS CALL NOT YET SEEN