Landing: 19024b653d74

Project / Subsystem

gcc / gcc

Date

2026-09-01

Author

Kugan Vivekanandarajah

Commit

19024b653d74af36b7743780fdafd92c1dce5f65

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
19024b653d74af36b7743780fdafd92c1dce5f65
source_type
github
headline
AutoFDO: Avoid inserting null PHI profile matches.
tldr
Fixes AutoFDO crash by preventing null pointers in profile matching.
author
Kugan Vivekanandarajah
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • autofdo
  • • bugfix
  • • performance
discussion_id_link
—
bugzilla_pr
—
date
2026-09-01T00:00:00.000Z

This commit resolves an internal compiler error in AutoFDO when processing SPEC CPU 2026. It prevents the insertion of null pointers into the set of matched profile entries, which occurred because PHI nodes lack source locations. This ensures correct profile matching.