Landing: 8682e3a54aff
Project / Subsystem
gcc / xtensa
Date
2026-07-17
Author
Takayuki 'January June' Suwa
Commit
8682e3a54affd5f83e00fc8280ce5ba01cd447a7
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- xtensa
- patch_id
- —
- commit_hash
- 8682e3a54affd5f83e00fc8280ce5ba01cd447a7
- source_type
- github
- headline
- Rewrite xtensa_legitimize_address() for clarity.
- tldr
- Improve readability of Xtensa address legitimization function.
- author
- Takayuki 'January June' Suwa
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • xtensa
- • refactoring
- • code-quality
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-17T00:00:00.000Z
The xtensa_legitimize_address() function in the Xtensa backend has become difficult to read and understand due to numerous successive modifications. This commit completely rewrites the function, preserving its equivalent functionality but presenting it in a far more clear and maintainable manner. The goal is to make the function’s intent explicit and easier for developers to reason about, especially when future changes are needed.