From ab5b267e1e2d29c4f1acf39af85e247894193168 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 1 Feb 2021 09:18:43 +0100 Subject: [PATCH] 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. (cherry picked from commit 972918eea873f8b1663151316c4b3aee7ae028e2) --- gcc/config/i386/i386-features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/i386/i386-features.c b/gcc/config/i386/i386-features.c index 78fb373db6ef..b1109de7cb61 100644 --- a/gcc/config/i386/i386-features.c +++ b/gcc/config/i386/i386-features.c @@ -1615,7 +1615,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 (); -- 2.43.5