diff options
author | Edwin Lu <ewlu@rivosinc.com> | 2024-01-31 10:53:07 -0800 |
---|---|---|
committer | Edwin Lu <ewlu@rivosinc.com> | 2024-01-31 17:32:21 -0800 |
commit | 23cd2961bd2ff63583f46e3499a07bd54491d45c (patch) | |
tree | 02287fa88de47e7796d98b95bbd68ddcd366847a | |
parent | 4b799a16ae59fc0f508c5931ebf1851a3446b707 (diff) | |
download | gcc-23cd2961bd2ff63583f46e3499a07bd54491d45c.zip gcc-23cd2961bd2ff63583f46e3499a07bd54491d45c.tar.gz gcc-23cd2961bd2ff63583f46e3499a07bd54491d45c.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
-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 529ef5e..b08a3e2 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; } |