Re: [PATCH] phiopt: Use mark_lhs_in_seq_for_dce instead of doing it inline

2025-05-18 Thread Richard Biener
> Am 18.05.2025 um 08:26 schrieb Andrew Pinski : > > Right now phiopt has the same code as mark_lhs_in_seq_for_dce > inlined into match_simplify_replacement. Instead let's use the > function in gimple-fold that does the same thing. > > Bootstrapped and tested on x86_64-linux-gnu. Ok Richard

[PATCH] phiopt: Use mark_lhs_in_seq_for_dce instead of doing it inline

2025-05-17 Thread Andrew Pinski
Right now phiopt has the same code as mark_lhs_in_seq_for_dce inlined into match_simplify_replacement. Instead let's use the function in gimple-fold that does the same thing. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * gimple-fold.cc (mark_lhs_in_seq_for_dce): Make