]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "RISC-V: Enable assert for insn_has_dfa_reservation"
authorEdwin Lu <ewlu@rivosinc.com>
Thu, 1 Feb 2024 05:49:20 +0000 (21:49 -0800)
committerEdwin Lu <ewlu@rivosinc.com>
Thu, 1 Feb 2024 05:49:20 +0000 (21:49 -0800)
This reverts commit 23cd2961bd2ff63583f46e3499a07bd54491d45c.

gcc/config/riscv/riscv.cc

index b08a3e285349896c586c66fdcb45e9fff4839207..529ef5e84b7bf9b7a99a7399ae3dbd7142fa837f 100644 (file)
@@ -8234,7 +8234,9 @@ riscv_sched_variable_issue (FILE *, int, rtx_insn *insn, int more)
 
   /* If we ever encounter an insn without an insn reservation, trip
      an assert so we can find and fix this problem.  */
+#if 0
   gcc_assert (insn_has_dfa_reservation_p (insn));
+#endif
 
   return more - 1;
 }