Re: [PATCH 2/2] Refactor backward threader registry and profitability code into classes.

2021-04-30 Thread Aldy Hernandez via Gcc-patches
I may just do that :). Thanks. Aldy On Fri, Apr 30, 2021 at 6:10 PM Jeff Law wrote: > > > On 4/28/2021 11:12 AM, Aldy Hernandez wrote: > > This refactors the registry and the profitability code from the > > backwards threader into two separate classes. It cleans up the code, > > and makes it ea

Re: [PATCH 2/2] Refactor backward threader registry and profitability code into classes.

2021-04-30 Thread Jeff Law via Gcc-patches
On 4/28/2021 11:12 AM, Aldy Hernandez wrote: This refactors the registry and the profitability code from the backwards threader into two separate classes. It cleans up the code, and makes it easier for alternate implementations to share code. Tested on x86-64 Linux. gcc/ChangeLog: *

[PATCH 2/2] Refactor backward threader registry and profitability code into classes.

2021-04-28 Thread Aldy Hernandez via Gcc-patches
This refactors the registry and the profitability code from the backwards threader into two separate classes. It cleans up the code, and makes it easier for alternate implementations to share code. Tested on x86-64 Linux. gcc/ChangeLog: * tree-ssa-threadbackward.c (class thread_jumps):