Landing: e9d53a1d2a3b

Project / Subsystem

gcc / match

Date

2026-08-22

Author

Andrea Pinski

Commit

e9d53a1d2a3becc26bcc98f3e85a87854660a2fc

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
match
patch_id
—
commit_hash
e9d53a1d2a3becc26bcc98f3e85a87854660a2fc
source_type
github
headline
match: Improve code clarity and usage of `wi::to_wide`.
tldr
match: Uses `wi::to_wide` more and simplifies modulus operations for better readability.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • compiler
  • • refactor
discussion_id_link
—
bugzilla_pr
—
date
2026-08-22T00:00:00.000Z

This commit refactors code in match.pd to use wi::to_wide more extensively, improving consistency and potentially performance. Additionally, it replaces bitwise AND operations with the modulo operator (% 4) for checking multiples of four, making the intent of the code clearer. These changes were verified after a bootstrap and test on x86_64-linux-gnu.