public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8675] RISC-V: Enable assert for insn_has_dfa_reservation
@ 2024-02-01 1:33 Edwin Lu
0 siblings, 0 replies; only message in thread
From: Edwin Lu @ 2024-02-01 1:33 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:23cd2961bd2ff63583f46e3499a07bd54491d45c
commit r14-8675-g23cd2961bd2ff63583f46e3499a07bd54491d45c
Author: Edwin Lu <ewlu@rivosinc.com>
Date: Wed Jan 31 10:53:07 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
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 529ef5e84b7b..b08a3e285349 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -8234,9 +8234,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-01 1:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 1:33 [gcc r14-8675] 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).