Landing: 19864661c96c

Project / Subsystem

gcc / niter

Date

2026-04-29

Author

Michiel Derhaeg

Commit

19864661c96c457e4a2a30ae3ec732f17a1d7a6a

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
niter
patch_id
commit_hash
19864661c96c457e4a2a30ae3ec732f17a1d7a6a
source_type
github
headline
Niter: Make MAX_DOMINATORS_TO_WALK configurable at runtime
tldr
The maximum number of dominators to walk in loop analysis can now be configured at runtime via a new `--param` option.
author
Michiel Derhaeg
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • loop analysis
  • niter
  • parameter
discussion_id_link
bugzilla_pr
date
2026-04-29T00:00:00.000Z

The MAX_DOMINATORS_TO_WALK limit, used in loop analysis passes like the niter pass, can now be configured at runtime, using the --param=max-niter-dominators-walk option. This allows users to increase the limit for very large function bodies where the default value may be insufficient. The previously hardcoded value is removed.