From 972918eea873f8b1663151316c4b3aee7ae028e2 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. --- 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 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 (); -- 2.30.2