Landing: 4bcae7a19c18
Project / Subsystem
gcc / ifcvt
Date
2026-09-20
Author
Yongqiang Tian
Commit
4bcae7a19c18b2212c503c836088749e56238336
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- ifcvt
- patch_id
- —
- commit_hash
- 4bcae7a19c18b2212c503c836088749e56238336
- source_type
- github
- headline
- Ignore debug instructions in noce lifetime check.
- tldr
- Prevents debug instructions from incorrectly suppressing if-conversion optimizations.
- author
- Yongqiang Tian
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ifcvt
- • optimization
- • debug info
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-20T00:00:00.000Z
This commit corrects the noce lifetime check to ignore debug instructions that mention variables but do not represent ordinary uses. Such debug-only payloads were inadvertently suppressing the min/max if-conversion optimization. By excluding these debug instructions from the overlap scan, the compiler can now properly apply if-conversion even when debug information is present.