Landing: ef039a5bf888

Project / Subsystem

gcc / gcc

Date

2026-04-29

Author

Vladimir N. Makarov

Commit

ef039a5bf888f736eb4504fe1322b8c1d5523dea

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
ef039a5bf888f736eb4504fe1322b8c1d5523dea
source_type
github
headline
Fix a bug in updating live info during rematerialization.
tldr
The compiler's register allocation phase now correctly handles multi-register pseudo-registers during rematerialization.
author
Vladimir N. Makarov
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • lra
  • register allocation
  • rematerialization
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-04-29T00:00:00.000Z

A bug was fixed in the LRA (Local Register Allocator) rematerialization pass where it failed to account for pseudo-registers requiring multiple hardware registers. This could lead to incorrect rematerialization decisions, but is now corrected to consider the correct number of registers.