Displaying 3 results from an estimated 3 matches for "t2ldrsb_pre".
2013 May 23
3
[LLVMdev] Definition of RegisterClass for load instruction in Thumb2
Hi,
I have a question about the definitions of t2LDRSB and t2LDRSB_PRE in ARMInstrThumb2.td :
I was aware that the definitions of target RegisterClass (outs) are different in t2LDRSB and t2LDRSB_PRE. While t2LDRSB uses rGPR, t2LDRSB_PRE uses GPR. I wonder if lr and pc are already prevented from being allocated in pre-indexing case, because of some register hint t...
2013 May 23
0
[LLVMdev] Definition of RegisterClass for load instruction in Thumb2
Hi Junbum,
> I was aware that the definitions of target RegisterClass (outs) are different in t2LDRSB and t2LDRSB_PRE. While t2LDRSB uses rGPR, t2LDRSB_PRE uses GPR. I wonder if lr and pc are already prevented from being allocated in pre-indexing case, because of some register hint that is being enforced?
They're not allocated during CodeGen because of the Reserved.set(…) calls in ARMBaseRegisterInfo.cpp....
2013 May 24
1
[LLVMdev] Definition of RegisterClass for load instruction in Thumb2
...and freezing lr and pc during register allocation in writeback version?
Thanks,
Junbum
On May 23, 2013, at 11:51 AM, Tim Northover <tnorthover at apple.com> wrote:
> Hi Junbum,
>
>> I was aware that the definitions of target RegisterClass (outs) are different in t2LDRSB and t2LDRSB_PRE. While t2LDRSB uses rGPR, t2LDRSB_PRE uses GPR. I wonder if lr and pc are already prevented from being allocated in pre-indexing case, because of some register hint that is being enforced?
>
> They're not allocated during CodeGen because of the Reserved.set(…) calls in ARMBaseRegister...