Displaying 2 results from an estimated 2 matches for "some_regist".
Did you mean:
some_register
2006 May 23
4
[LLVMdev] Spilling register and frame indices
...fo::storeRegToStackSlot
3. At later stage, frame indices are replaced by calling to
MRegisterInfo::eliminateFrameIndex.
This works for me, but there's slight problem. The target does not have
"register + contant" addressing mode, so accessing frame index should be
done like this:
some_register = frame_pointer + offset
...... [some_register]
Since frame index eliminations happens after register allocation, I must
make sure 'some_register' does not participate in normal register
allocation.
That approach sounds suboptimal. By "reserving" one register we can a...
2006 May 23
0
[LLVMdev] Spilling register and frame indices
...ter stage, frame indices are replaced by calling to
> MRegisterInfo::eliminateFrameIndex.
>
> This works for me, but there's slight problem. The target does not have
> "register + contant" addressing mode, so accessing frame index should be
> done like this:
>
> some_register = frame_pointer + offset
> ...... [some_register]
>
> Since frame index eliminations happens after register allocation, I must
> make sure 'some_register' does not participate in normal register
> allocation.
Right.
> That approach sounds suboptimal. By "r...