Landing: ea48f0c5493c

Project / Subsystem

gcc / dom

Date

2026-10-04

Author

Aldy Hernandez

Commit

ea48f0c5493cb0829127ec12d7af2ba3c5c11c97

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
dom
patch_id
—
commit_hash
ea48f0c5493cb0829127ec12d7af2ba3c5c11c97
source_type
github
headline
DOM pass replaces test_for_singularity with simplify_using_ranges
tldr
Dominator analysis pass simplifies code by using a more capable range-based simplification function, removing redundant logic.
author
Aldy Hernandez
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • dominator analysis
discussion_id_link
—
bugzilla_pr
—
date
2026-10-04T00:00:00.000Z

The Dominator analysis (DOM) pass in GCC has been updated to replace its internal test_for_singularity function with the more powerful simplify_using_ranges. This change leverages existing range-based simplification capabilities to achieve the same goal, leading to slightly smarter code analysis. The update is part of an ongoing effort to refactor and improve the DOM pass.