Landing: 1cd32c7d3e1d
Project / Subsystem
gcc / gcc/ifcvt
Date
2026-09-06
Author
wangjue
Commit
1cd32c7d3e1d016e234aaf6bfaf8e09930cbe8e9
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/ifcvt
- patch_id
- —
- commit_hash
- 1cd32c7d3e1d016e234aaf6bfaf8e09930cbe8e9
- source_type
- github
- headline
- ifcvt handles targets without scheduling models; adds RISC-V tests.
- tldr
- ifcvt now supports targets lacking scheduling models and includes new RISC-V tests for cost analysis.
- author
- wangjue
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ifcvt
- • m68k
- • risc-v
- • optimization
- • testing
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-06T00:00:00.000Z
This commit enhances the if-conversion (ifcvt) functionality by enabling it to handle targets that do not have explicit scheduling models. For such targets, m68k_sched_issue_rate now safely returns 1 instead of triggering an error. Additionally, new test cases have been added for the RISC-V architecture to evaluate if-conversion costs on both single-issue and multi-issue processors.