Re: [PATCH] gcc/ira-conflicts.c: avoid conflict obj compare with itself

2014-11-17 Thread Jeff Law
On 11/16/14 23:31, Zhouyi Zhou wrote: From: Zhouyi Zhou In function build_conflict_bit_table, id is set in objects_live before traversing that sparseset, so the obj is unnessary compared with itself during the traversing. The comparing of obj with itself can be avoided by means of moving sparse

[PATCH] gcc/ira-conflicts.c: avoid conflict obj compare with itself

2014-11-16 Thread Zhouyi Zhou
From: Zhouyi Zhou In function build_conflict_bit_table, id is set in objects_live before traversing that sparseset, so the obj is unnessary compared with itself during the traversing. The comparing of obj with itself can be avoided by means of moving sparseset_set_bit (objects_live, id) afte