diff options
author | Edwin Lu <ewlu@rivosinc.com> | 2024-02-14 12:09:43 -0800 |
---|---|---|
committer | Edwin Lu <ewlu@rivosinc.com> | 2024-02-21 11:54:37 -0800 |
commit | d7d79c466dd4f2763974cc33545275fa37cafc1f (patch) | |
tree | 8e741c1b5a0454f97c48f2cfce9e18fd9437b3f6 | |
parent | bc6b42666cfe1467774b942c7afabe480e3b5ccb (diff) | |
download | gcc-d7d79c466dd4f2763974cc33545275fa37cafc1f.zip gcc-d7d79c466dd4f2763974cc33545275fa37cafc1f.tar.gz gcc-d7d79c466dd4f2763974cc33545275fa37cafc1f.tar.bz2 |
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>
-rw-r--r-- | gcc/config/riscv/riscv.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index 4100abc..5e984ee 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; } |