]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
In pipeline scheduling, insns should not be fusion in different BB blocks.
authorJin Ma <jinma@linux.alibaba.com>
Thu, 25 May 2023 17:55:26 +0000 (11:55 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Thu, 25 May 2023 17:55:26 +0000 (11:55 -0600)
gcc/ChangeLog:

* sched-deps.cc (sched_macro_fuse_insns): Insns should not be fusion
in different BB blocks.

gcc/sched-deps.cc

index 2aa6623ad2ea264300748e705d79ccb41e9cbed1..998fe93080453a10b7cd61151ddea572d4e33b3f 100644 (file)
@@ -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;