On 09/06/2017 09:56 AM, Michael Collison wrote: > Patch updated with all relevant comments and suggestions. > > Bootstrapped and tested on arm-none-linux-gnueabihf, and > aarch64-none-linux-gnu and x86_64. > > Ok for trunk? > > 2017-08-05 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Michael Collison <michael.colli...@arm.com> > > * compare-elim.c: Include emit-rtl.h. > (can_merge_compare_into_arith): New function. > (try_validate_parallel): Likewise. > (try_merge_compare): Likewise. > (try_eliminate_compare): Call the above when no previous clobber > is available. > (execute_compare_elim_after_reload): Add DF_UD_CHAIN and DF_DU_CHAIN > dataflow problems. > > 2017-08-05 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Michael Collison <michael.colli...@arm.com> > > * gcc.target/aarch64/cmpelim_mult_uses_1.c: New test. Sorry for the delay.
This looks good. OK for the trunk. jeff