Landing: 58294ebfb40b
Project / Subsystem
gcc / dom
Date
2026-10-04
Author
Aldy Hernandez
Commit
58294ebfb40b05e1e4624006a8c5479293d398ec
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- dom
- patch_id
- —
- commit_hash
- 58294ebfb40b05e1e4624006a8c5479293d398ec
- source_type
- github
- headline
- DOM: Replace simplify_binary_operation with ranger
- tldr
- DOM analysis now relies on the ranger pass for simplifying binary operations, removing redundant code.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • dom
- • optimization
- • ranger
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-10-04T00:00:00.000Z
The DOM (Dominator Tree) analysis pass has removed its simplify_binary_operation method. This functionality is now handled more effectively by the ranger pass, which specializes in value range analysis. The change streamlines the DOM pass by offloading this task. New test cases were added to ensure that the compiler’s ability to handle these operations is preserved. Testing on a benchmark suite showed no regressions.