Re: PR80357: Negative register pressure

2017-04-18 Thread Jeff Law
On 04/14/2017 04:37 AM, Richard Sandiford wrote: In the PR testcase, there were two instructions that had a large number of insn_reg_use records for the same register. model_recompute was instead expecting the records to be unique and so decremented the register pressure for each one. We then en

PR80357: Negative register pressure

2017-04-14 Thread Richard Sandiford
In the PR testcase, there were two instructions that had a large number of insn_reg_use records for the same register. model_recompute was instead expecting the records to be unique and so decremented the register pressure for each one. We then ended up with a negative pressure. I think the recor