Re: [PATCH 1/2] rtl-optimization/114855 - slow add_store_equivs in IRA

2024-09-25 Thread Richard Biener
On Tue, 24 Sep 2024, Jeff Law wrote: > > > On 9/24/24 6:34 AM, Richard Biener wrote: > > For the testcase in PR114855 at -O1 add_store_equivs shows up as the > > main sink for bitmap_set_bit because it uses a bitmap to mark all > > seen insns by UID to make sure the forward walk in memref_used_b

Re: [PATCH 1/2] rtl-optimization/114855 - slow add_store_equivs in IRA

2024-09-24 Thread Jeff Law
On 9/24/24 6:34 AM, Richard Biener wrote: For the testcase in PR114855 at -O1 add_store_equivs shows up as the main sink for bitmap_set_bit because it uses a bitmap to mark all seen insns by UID to make sure the forward walk in memref_used_between_p will find the insn in question. Given we do

[PATCH 1/2] rtl-optimization/114855 - slow add_store_equivs in IRA

2024-09-24 Thread Richard Biener
For the testcase in PR114855 at -O1 add_store_equivs shows up as the main sink for bitmap_set_bit because it uses a bitmap to mark all seen insns by UID to make sure the forward walk in memref_used_between_p will find the insn in question. Given we do have a CFG here the functions operation is que