代码拉取完成,页面将自动刷新
From 7ab54a765239bdd2ce548cffdd5b83f9c20f69da Mon Sep 17 00:00:00 2001
From: Richard Sandiford <richard.sandiford@arm.com>
Date: Sat, 11 Nov 2023 17:28:55 +0000
Subject: [PATCH 034/157] [Backport][SME] mode-switching: Add note problem
Reference: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3cd3a09b3f91a1d023cb180763d40598d6bb274b
optimize_mode_switching uses REG_DEAD notes to track register
liveness, but it failed to tell DF to calculate up-to-date notes.
Noticed by inspection. I don't have a testcase that fails
because of this.
gcc/
* mode-switching.cc (optimize_mode_switching): Call
df_note_add_problem.
---
gcc/mode-switching.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/mode-switching.cc b/gcc/mode-switching.cc
index 4cf8f03a0..2a9f98793 100644
--- a/gcc/mode-switching.cc
+++ b/gcc/mode-switching.cc
@@ -540,6 +540,7 @@ optimize_mode_switching (void)
pre_exit = create_pre_exit (n_entities, entity_map, num_modes);
}
+ df_note_add_problem ();
df_analyze ();
/* Create the bitmap vectors. */
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。