Re: Remove redundant test for global_regs

2015-09-07 Thread Anatoly Sokolov
- Original Message - From: "Jeff Law" Sent: Friday, September 04, 2015 11:22 PM Hello. Index: gcc/cse.c === --- gcc/cse.c (revision 226953) +++ gcc/cse.c (working copy) @@ -463,7 +463,7 @@ A reg wins if it is either

Re: Remove redundant test for global_regs

2015-09-04 Thread Jeff Law
On 09/02/2015 05:02 PM, Georg-Johann Lay wrote: Anatoliy Sokolov schrieb: Hi. The fixed_reg_set contain all fixed and global registers. This patch change code "fixed_regs[r] || global_regs[r]" with "TEST_HARD_REG_BIT (fixed_reg_set, r)". Even though technically a no-op change TEST_HARD_RE

Re: Remove redundant test for global_regs

2015-09-02 Thread Georg-Johann Lay
Anatoliy Sokolov schrieb: Hi. The fixed_reg_set contain all fixed and global registers. This patch change code "fixed_regs[r] || global_regs[r]" with "TEST_HARD_REG_BIT (fixed_reg_set, r)". Even though technically a no-op change TEST_HARD_REG_BIT (fixed_reg_set, r) appears to be a test f