Re: Avoid adding impossible copies in ira-conflicts.c:process_reg_shuffles

2019-09-20 Thread Vladimir Makarov
On 09/17/2019 12:50 PM, Richard Sandiford wrote: If an insn requires two operands to be tied, and the input operand dies in the insn, IRA acts as though there were a copy from the input to the output with the same execution frequency as the insn. Allocating the same register to the input and the

Re: Avoid adding impossible copies in ira-conflicts.c:process_reg_shuffles

2019-09-17 Thread Toon Moene
On 9/17/19 6:50 PM, Richard Sandiford wrote: [ ... ] This patch tries to avoid the problem by not adding register shuffle copies if there appears to be no chance that the two operands could be allocated to the same register. The table below summarises the tests that had more or fewer assembl