Landing: a1ba7736cfb4

Project / Subsystem

gcc / risc-v

Date

2026-07-16

Author

Jin Ma

Commit

a1ba7736cfb4a5c7d97116934bd010de1207d002

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
—
commit_hash
a1ba7736cfb4a5c7d97116934bd010de1207d002
source_type
github
headline
RISC-V: Improve macro-fusion dump output and comments
tldr
Enhances RISC-V macro-fusion diagnostics for better understanding of instruction pairing.
author
Jin Ma
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • risc-v
  • • optimization
  • • debugging
discussion_id_link
—
bugzilla_pr
—
date
2026-07-16T00:00:00.000Z

This commit improves the debugging output for RISC-V macro-fusion. It includes instruction UIDs in dump messages to distinguish consecutive fusion matches and correctly reports ZEXTW and ZEXTWS with their actual fusion types. Documentation for existing fusion recognizers is also enhanced to clarify RTL relationships and constraints, aiding developers in understanding the fusion process.