aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJin Ma <jinma@linux.alibaba.com>2023-05-25 11:55:26 -0600
committerJeff Law <jlaw@ventanamicro.com>2023-05-25 11:55:26 -0600
commit4832767db7897be6fb5cbc44f079482c90cb95a6 (patch)
treefdd5c12c2b84cf889cd48abfe8669b34d21a4d3c
parent52ff3f7b863da1011b73c0ab3b11f6c78b6451c7 (diff)
downloadgcc-4832767db7897be6fb5cbc44f079482c90cb95a6.zip
gcc-4832767db7897be6fb5cbc44f079482c90cb95a6.tar.gz
gcc-4832767db7897be6fb5cbc44f079482c90cb95a6.tar.bz2
In pipeline scheduling, insns should not be fusion in different BB blocks.
gcc/ChangeLog: * sched-deps.cc (sched_macro_fuse_insns): Insns should not be fusion in different BB blocks.
-rw-r--r--gcc/sched-deps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-deps.cc b/gcc/sched-deps.cc
index 2aa6623..998fe93 100644
--- a/gcc/sched-deps.cc
+++ b/gcc/sched-deps.cc
@@ -2833,7 +2833,7 @@ sched_macro_fuse_insns (rtx_insn *insn)
compile time complexity. */
if (DEBUG_INSN_P (insn))
return;
- prev = prev_nonnote_nondebug_insn (insn);
+ prev = prev_nonnote_nondebug_insn_bb (insn);
if (!prev)
return;