Re: [PATCH] Use simple_dce_from_worklist with match_simplify_replacement.

2022-10-27 Thread Richard Biener via Gcc-patches
> Am 27.10.2022 um 17:11 schrieb apinski--- via Gcc-patches > : > > From: Andrew Pinski > > This is a simple patch to do some DCE after a successful > match and simplify replacement in PHI-OPT. match and simplify > likes to generate some extra statements which should be cleaned > up. > >

[PATCH] Use simple_dce_from_worklist with match_simplify_replacement.

2022-10-27 Thread apinski--- via Gcc-patches
From: Andrew Pinski This is a simple patch to do some DCE after a successful match and simplify replacement in PHI-OPT. match and simplify likes to generate some extra statements which should be cleaned up. OK? Bootstrapped and tested on x86_64-linux with no regressions. Thanks, Andrew Pinski