Landing: b1dadc61cd72

Project / Subsystem

gcc / match

Date

2026-08-22

Author

Andrea Pinski

Commit

b1dadc61cd727cc8760676a9f0190ebe5acbe39c

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
match
patch_id
—
commit_hash
b1dadc61cd727cc8760676a9f0190ebe5acbe39c
source_type
github
headline
match: Remove unused result captures to speed up compilation.
tldr
match: Optimizes pattern matching by removing unneeded result captures, slightly reducing compiler time.
author
Andrea Pinski
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-22T00:00:00.000Z

This commit removes several unused result captures from widening multiply matches in the match.pd file. By reducing the amount of data stored in result operands, these changes offer a slight improvement in compiler speed. The affected patterns include mul_carry_low_sum, mul_low_accum, and several mul_ladder_sum variations.