Landing: be7393903c28
Project / Subsystem
gcc / reorg
Date
2026-09-16
Author
Yongqiang Tian
Commit
be7393903c28328a6d2dfd5bbd6347fcbf767bec
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- reorg
- patch_id
- —
- commit_hash
- be7393903c28328a6d2dfd5bbd6347fcbf767bec
- source_type
- github
- headline
- Do not charge debug instructions against search budget
- tldr
- Debug instructions no longer affect redundant instruction search budget.
- author
- Yongqiang Tian
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • rtl
- • debugging
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-16T00:00:00.000Z
This change prevents debug instructions from consuming the search budget when looking for redundant instructions. By skipping DEBUG_INSNs, the compiler ensures that these non-executing instructions do not mask actual redundancies, leading to more accurate optimization. A new test case for SPARC is included.