Landing: aa356161379c

Project / Subsystem

gcc / match

Date

2026-08-06

Author

Kael Andrew Alonzo Franco

Commit

aa356161379c0df6b47dabf69bff51b6a0b5cab7

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
match
patch_id
—
commit_hash
aa356161379c0df6b47dabf69bff51b6a0b5cab7
source_type
github
headline
Combine several patterns into fors in genmatch.
tldr
Reduces genmatch's C++ output size by combining patterns.
author
Kael Andrew Alonzo Franco
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • build
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-06T00:00:00.000Z

This commit refactors the genmatch tool by combining several patterns into for loops. This change aims to reduce the amount of C++ code generated by genmatch, leading to smaller output files. The modification was tested and verified through bootstrapping and regression testing on an x86_64 Linux system.