public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9124] RISC-V: Enable assert for insn_has_dfa_reservation
@ 2024-02-21 22:10 Edwin Lu
  0 siblings, 0 replies; only message in thread
From: Edwin Lu @ 2024-02-21 22:10 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d7d79c466dd4f2763974cc33545275fa37cafc1f

commit r14-9124-gd7d79c466dd4f2763974cc33545275fa37cafc1f
Author: Edwin Lu <ewlu@rivosinc.com>
Date:   Wed Feb 14 12:09:43 2024 -0800

    RISC-V: Enable assert for insn_has_dfa_reservation
    
    Enables assert that every typed instruction is associated with a
    dfa reservation
    
    gcc/ChangeLog:
    
            * config/riscv/riscv.cc (riscv_sched_variable_issue): Enable assert
    
    Signed-off-by: Edwin Lu <ewlu@rivosinc.com>

Diff:
---
 gcc/config/riscv/riscv.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index 4100abc9dd17..5e984ee2a554 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -8269,9 +8269,7 @@ 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;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-21 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21 22:10 [gcc r14-9124] RISC-V: Enable assert for insn_has_dfa_reservation Edwin Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).