Displaying 3 results from an estimated 3 matches for "retargability".
Did you mean:
restartability
2006 Apr 29
2
[LLVMdev] Register allocation in LLVM
...to implement this in LLVM. Should I
change the function "copyRegToReg" in X86RegisterInfo.cpp? I am afraid
this function is used in other situations where copy instructions are
expected. On the other hand, if I create a separate function, and change
PHIElimination.cpp, I am afraid to lose retargability. Also, if
possible, I would like to know if, besides the source code of the
register allocation classes (which is very well commented, and very
clean), if there is any online description of the register allocation
interface. For instance, concerning register allocation:
- To send registers to mem...
2006 May 01
0
[LLVMdev] Register allocation in LLVM
...Reg" in
> X86RegisterInfo.cpp?
No, certainly not.
> I am afraid this function is used in other
> situations where copy instructions are expected.
Yup, that it would.
> On the other hand, if I create a separate function, and change
> PHIElimination.cpp, I am afraid to lose retargability.
If you need to do this, I'd suggest adding a new virtual method
"insertRegisterXor" or something, which works like copyRegToReg. It
should be very straight-forward to implement for all targets. I would
suggest starting out by implementing it on whatever target you are on, and...
2006 May 01
2
[LLVMdev] Register allocation in LLVM
...> No, certainly not.
>
>> I am afraid this function is used in other situations where copy
>> instructions are expected.
>
> Yup, that it would.
>
>> On the other hand, if I create a separate function, and change
>> PHIElimination.cpp, I am afraid to lose retargability.
>
> If you need to do this, I'd suggest adding a new virtual method
> "insertRegisterXor" or something, which works like copyRegToReg.
> It should be very straight-forward to implement for all targets. I
> would suggest starting out by implementing it on whatev...