Landing: bfdd3d3d8b68

Project / Subsystem

gcc / gcc/cselim

Date

2026-09-24

Author

Thomas Schwinge

Commit

bfdd3d3d8b6877435898c89393177bbcbd713309

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/cselim
patch_id
—
commit_hash
bfdd3d3d8b6877435898c89393177bbcbd713309
source_type
github
headline
cselim: Skip store replacement for certain conditional stores
tldr
Fixes a regression in conditional store optimization that incorrectly reduced loop dependency counts.
author
Thomas Schwinge
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • regression
  • • libgomp
discussion_id_link
—
bugzilla_pr
—
date
2026-09-24T00:00:00.000Z

This commit reverts a change in the cselim pass that affected conditional store optimizations. The previous change caused a regression in a libgomp test case by incorrectly reducing the number of loops carrying no dependency. The fix re-enables the previous behavior for certain conditional stores, ensuring correct analysis of loop dependencies.