Landing: 9f82055b86c0

Project / Subsystem

gcc / match

Date

2026-08-21

Author

Andrea Pinski

Commit

9f82055b86c06511ff4f19939cbd7765bf3395fe

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
match
patch_id
—
commit_hash
9f82055b86c06511ff4f19939cbd7765bf3395fe
source_type
github
headline
match: Use wi::to_wide instead of tree_to_uhwi in mul_hi/mul_lo
tldr
Replaced tree_to_uhwi with wi::to_wide in mul_hi and mul_lo for a minor compile-time speedup.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compile-time
discussion_id_link
—
bugzilla_pr
—
date
2026-08-21T00:00:00.000Z

The match-tree-optimization code in GCC has been updated to use wi::to_wide instead of tree_to_uhwi in the mul_hi and mul_lo patterns. This change is a small compile-time optimization, as wi::to_wide is expected to have minimal overhead in this context, potentially leading to slightly faster compilation.