Displaying 2 results from an estimated 2 matches for "handlemachinefunctionpostcoalesc".
Did you mean:
handlemachinefunctionpostcoalescer
2015 Sep 29
4
TwoAddressInstructionPass::isProfitableToConv3Addr()
...t is not killed, one can assume that the use and dst
registers overlap, and therefore the copy is needed for the two-address
form. The kill flags would however need to be recomputed by TwoAddr
pass, since
LiveVariables clear them.
An alternative approach might be to have something like
TII->handleMachineFunctionPostCoalescer() at the end of
RegisterCoalescer.cpp::runOnMachineFunction(). There, one could look for
instructions and query live intervals for overlap. This hook might also
be useful for other things, since this is the point just before
mi-sched/regalloc, where one could do things like estimate register...
2015 Sep 29
2
TwoAddressInstructionPass::isProfitableToConv3Addr()
...n assume that the use and dst registers overlap, and therefore the copy is needed for the two-address form. The kill flags would however need to be recomputed by TwoAddr pass, since
>> LiveVariables clear them.
>>
>> An alternative approach might be to have something like TII->handleMachineFunctionPostCoalescer() at the end of RegisterCoalescer.cpp::runOnMachineFunction(). There, one could look for instructions and query live intervals for overlap. This hook might also be useful for other things, since this is the point just before mi-sched/regalloc, where one could do things like estimate register pres...