Re: [PATCH] Perform cfg cleanup in cse if needed (PR rtl-optimization/92610)

2019-11-22 Thread Richard Biener
On November 23, 2019 2:15:36 AM GMT+01:00, Jakub Jelinek wrote: >Hi! > >cse_main which sets tem has: > if (cse_jumps_altered || recorded_label_ref) >return 2; > else if (cse_cfg_altered) >return 1; > else >return 0; >at the end, but after these two functions call it, they call also

[PATCH] Perform cfg cleanup in cse if needed (PR rtl-optimization/92610)

2019-11-22 Thread Jakub Jelinek
Hi! cse_main which sets tem has: if (cse_jumps_altered || recorded_label_ref) return 2; else if (cse_cfg_altered) return 1; else return 0; at the end, but after these two functions call it, they call also delete_trivially_dead_insns. Even when cse_main didn't need cfg changes, d