Re: [PATCH 1/2] Refactor final_value_replacement_loop [PR90594]

2024-12-12 Thread Feng Xue OS
inal_value (class loop *, tree, bool *, bool); +extern void apply_scev_final_value_replacement (gphi *, tree, bool, bool); extern bool final_value_replacement_loop (class loop *); -extern unsigned int scev_const_prop (void); extern bool expression_expensive_p (tree, bool *); extern bool

Re: [PATCH 1/2] Refactor final_value_replacement_loop [PR90594]

2024-12-09 Thread Richard Biener
On Fri, Dec 6, 2024 at 2:56 PM Feng Xue OS wrote: > > This patch refactors the procedure in tree-scalar-evolution.cc in order to > partially export its functionality to other module, so decomposes it to > several relatively independent utility functions. > > Thanks, > Feng > --- > gcc/ >