On 07/02/14 02:32, Eric Botcazou wrote:
So in order to known whether it's safe and optimal to use regs_ever_live
instead, the question is whether the passes after pass_free_cfg (are allowed
to) add or remove sets or clobbers of call_really_used_regs. I don't know
the full answer there.

pass_machine_reorg is run after pass_free_cfg and it can do pretty much what
it wants so I'd think that the answer is yes.
Agreed -- until such time as we decide to place some limits on the machine dependent reorg pass. Right now I think the only limit is the result of that pass must be valid RTL. Pretty weak :(

Jeff

Reply via email to