Re: [PATCH] [PHIOPT/MATCH] Remove the statement to move if not used

2021-07-12 Thread Richard Biener via Gcc-patches
On Fri, Jul 9, 2021 at 10:05 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > Instead of waiting for DCE to remove the unused statement, > and maybe optimize another conditional, it is better if > we don't move the statement and have the statement > removed. > > OK? Bootstrapped a

[PATCH] [PHIOPT/MATCH] Remove the statement to move if not used

2021-07-09 Thread apinski--- via Gcc-patches
From: Andrew Pinski Instead of waiting for DCE to remove the unused statement, and maybe optimize another conditional, it is better if we don't move the statement and have the statement removed. OK? Bootstrapped and tested on x86_64-linux-gnu. Changes from v1: * v2: Change the order of insertat