Landing: ac784bf5f58a

Project / Subsystem

gcc / genemit

Date

2026-08-07

Author

Kyrylo Tkachov

Commit

ac784bf5f58a4457c5dd49abdb258577b1821fdc

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
genemit
patch_id
—
commit_hash
ac784bf5f58a4457c5dd49abdb258577b1821fdc
source_type
github
headline
genemit: Emit split dump messages via a helper function
tldr
Reduces generated code size and compilation time by centralizing dump message logic.
author
Kyrylo Tkachov
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • genemit
  • • code generation
  • • performance
  • • compiler internals
discussion_id_link
—
bugzilla_pr
—
date
2026-08-07T00:00:00.000Z

This commit refactors the genemit tool to use a helper function, note_split, for emitting dump messages related to split operations. Previously, each of the thousands of define_split and define_peephole2 generators included repetitive code to print a dump message. By centralizing this logic into note_split in emit-rtl.cc, the generated code size for insn-emit-*.cc files is reduced, and compilation time decreases. The dump output remains unchanged, preserving the integrity of regression tests that rely on it.