On 9/9/26 11:14 AM, Jin Ma wrote:
Ready-list scheduling must probe potential pairs without emitting dump
records. Add a helper that returns the matched fusion operation and keep
dumping in TARGET_SCHED_MACRO_FUSION_PAIR_P.
gcc/ChangeLog:
* config/riscv/riscv-fusion.cc (riscv_fusion_type_name): New
function.
(riscv_get_fusion_pair_type): Likewise.
(riscv_macro_fusion_pair_p): Use riscv_get_fusion_pair_type and
emit the matched operation.
* config/riscv/riscv-protos.h (riscv_get_fusion_pair_type):
Declare.
Signed-off-by: Jin Ma <[email protected]>
OK.
Jeff