On 9/4/26 6:34 PM, wangjue wrote:
From: juewang <[email protected]>
m68k_sched_issue_rate can be called for targets without a scheduling
model. Return 1 for those targets instead of calling gcc_unreachable.
Add tests for if-conversion costing on single-issue and multi-issue
targets.
Assisted-by: Codex (OpenAI)
gcc/ChangeLog:
* config/m68k/m68k.cc (m68k_sched_issue_rate): Return one for CPUs
without a scheduling model.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/ifcvt-parallel-cost-1.c: New test.
* gcc.target/riscv/ifcvt-parallel-cost-2.c: Likewise.
I adjusted the subject line to mention the RISC-V tests and pushed this
to the trunk. Thanks!
jeff