Re: ptx preliminary rtl patches [4/4]

2014-10-29 Thread Jeff Law
On 10/29/14 17:48, Bernd Schmidt wrote: On 09/11/2014 05:58 PM, Steven Bosscher wrote: On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote: It turns out that we're calling eliminate_regs for global variables which can't possibly have eliminable regs in their decl. At that point, reg_eliminate

Re: ptx preliminary rtl patches [4/4]

2014-10-29 Thread Bernd Schmidt
On 09/11/2014 05:58 PM, Steven Bosscher wrote: On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote: It turns out that we're calling eliminate_regs for global variables which can't possibly have eliminable regs in their decl. At that point, reg_eliminate can be NULL. This patch avoids unnecessar

Re: ptx preliminary rtl patches [4/4]

2014-09-11 Thread Steven Bosscher
On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote: > It turns out that we're calling eliminate_regs for global variables which > can't possibly have eliminable regs in their decl. At that point, > reg_eliminate can be NULL. This patch avoids unnecessary work, and allows us > to add an assert to

ptx preliminary rtl patches [4/4]

2014-09-11 Thread Bernd Schmidt
It turns out that we're calling eliminate_regs for global variables which can't possibly have eliminable regs in their decl. At that point, reg_eliminate can be NULL. This patch avoids unnecessary work, and allows us to add an assert to eliminate_regs later. Bootstrapped and tested on x86_64-l