Landing: 1f73f91ea78c

Project / Subsystem

gcc / gcc/tree-ssa-pre

Date

2026-08-21

Author

Richard Biener

Commit

1f73f91ea78c9c6b986630d236cabd8298788aa6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-ssa-pre
patch_id
—
commit_hash
1f73f91ea78c9c6b986630d236cabd8298788aa6
source_type
github
headline
Simplify PRE phi-translation expression simplification.
tldr
Ensures correct handling of SSA names during PRE phi-translation to avoid incorrect simplifications.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • compiler bug
discussion_id_link
—
bugzilla_pr
—
date
2026-08-21T00:00:00.000Z

This commit corrects expression simplification in the PRE (Partial Redundancy Elimination) pass’s phi-translation. Previously, limitations on what SSA names were allowed were ineffective, leading to the encoding of previously rejected names. The fix restores the original unsimplified NARY representation when simplification to an SSA name would be invalid, addressing a bug reported in PR126965.