Minor improvement to compare elimination
gcc/ * compare-elim.c (try_eliminate_compare): Run DCE to clean things up before eliminating comparisons.
This commit is contained in:
parent
4602714382
commit
6d43ec5096
1 changed files with 1 additions and 0 deletions
|
@ -906,6 +906,7 @@ try_eliminate_compare (struct comparison *cmp)
|
|||
static unsigned int
|
||||
execute_compare_elim_after_reload (void)
|
||||
{
|
||||
df_set_flags (DF_LR_RUN_DCE);
|
||||
df_analyze ();
|
||||
|
||||
gcc_checking_assert (!all_compares.exists ());
|
||||
|
|
Loading…
Add table
Reference in a new issue