Landing: fb3b31e0cbdd

Project / Subsystem

gcc / gcc

Date

2026-04-29

Author

Vladimir N. Makarov

Commit

fb3b31e0cbdd779b3687b25334aa6a3766aec3f3

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
fb3b31e0cbdd779b3687b25334aa6a3766aec3f3
source_type
github
headline
Fix a bug in finding conflicts during rematerialization.
tldr
The LRA rematerialization pass now uses the correct mode when identifying register conflicts, preventing incorrect 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 corrected in the LRA rematerialization pass where the wrong mode was used when searching for register conflicts, which could lead to incorrect rematerialization. The fix ensures the correct mode is used to find conflicts.