From: Richard Biener Date: Mon, 1 Feb 2021 08:18:43 +0000 (+0100) Subject: rtl-optimization/98863 - prune RD with LIVE in STV X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=972918eea873f8b1663151316c4b3aee7ae028e2;p=gcc.git rtl-optimization/98863 - prune RD with LIVE in STV This sets DF_RD_PRUNE_DEAD_DEFS like all other uses of the UD/DU chain problems which makes the RD problem consume a lot less memory. 2021-02-01 Richard Biener PR rtl-optimization/98863 * config/i386/i386-features.c (convert_scalars_to_vector): Set DF_RD_PRUNE_DEAD_DEFS. --- diff --git a/gcc/config/i386/i386-features.c b/gcc/config/i386/i386-features.c index c7d64822a13..41891c94469 100644 --- a/gcc/config/i386/i386-features.c +++ b/gcc/config/i386/i386-features.c @@ -1627,7 +1627,7 @@ convert_scalars_to_vector (bool timode_p) bitmap_initialize (&candidates[i], &bitmap_default_obstack); calculate_dominance_info (CDI_DOMINATORS); - df_set_flags (DF_DEFER_INSN_RESCAN); + df_set_flags (DF_DEFER_INSN_RESCAN | DF_RD_PRUNE_DEAD_DEFS); df_chain_add_problem (DF_DU_CHAIN | DF_UD_CHAIN); df_analyze ();