Landing: e1424f0b3052

Project / Subsystem

gcc / backthreader

Date

2026-09-07

Author

Aldy Hernandez

Commit

e1424f0b30525ced215042169035ff7c1ef5ca9d

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
backthreader
patch_id
—
commit_hash
e1424f0b30525ced215042169035ff7c1ef5ca9d
source_type
github
headline
Backthreader optimization skips blocks with no inferred ranges.
tldr
Backthreader pass is faster by skipping blocks that have no inferred pointer ranges.
author
Aldy Hernandez
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • backthreader
  • • gcc
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-09-07T00:00:00.000Z

The backthreader pass in GCC has been optimized to improve performance. It now efficiently skips blocks that lack inferred pointer ranges, reducing unnecessary work. This change specifically targets adjust_for_non_null_uses by collecting pointer dependencies once per path and querying the inference oracle only when necessary, leading to a measurable speedup.