Re: [PATCH 1/2] split-paths: Move check for # of statements in join earlier

2024-09-05 Thread Andrew Pinski
On Tue, Sep 3, 2024 at 11:30 PM Kyrylo Tkachov wrote: > > Hi Andrew, > > > On 3 Sep 2024, at 20:11, Andrew Pinski wrote: > > > > External email: Use caution opening links or attachments > > > > > > This moves the check for # of statements to copy in join to > > be the first check. This check is t

Re: [PATCH 1/2] split-paths: Move check for # of statements in join earlier

2024-09-03 Thread Kyrylo Tkachov
Hi Andrew, > On 3 Sep 2024, at 20:11, Andrew Pinski wrote: > > External email: Use caution opening links or attachments > > > This moves the check for # of statements to copy in join to > be the first check. This check is the cheapest check so it > should be first. Plus add a print to the dump

Re: [PATCH 1/2] split-paths: Move check for # of statements in join earlier

2024-09-03 Thread Jeff Law
On 9/3/24 12:11 PM, Andrew Pinski wrote: This moves the check for # of statements to copy in join to be the first check. This check is the cheapest check so it should be first. Plus add a print to the dump file since there was none beforehand. gcc/ChangeLog: * gimple-ssa-split-paths.

[PATCH 1/2] split-paths: Move check for # of statements in join earlier

2024-09-03 Thread Andrew Pinski
This moves the check for # of statements to copy in join to be the first check. This check is the cheapest check so it should be first. Plus add a print to the dump file since there was none beforehand. gcc/ChangeLog: * gimple-ssa-split-paths.cc (is_feasible_trace): Move check for