Landing: 6c3a8c553f98

Project / Subsystem

gcc / vect

Date

2026-07-24

Author

Alex Coplan

Commit

6c3a8c553f98c8bdf42a24f49cbaa206b55c80d5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
vect
patch_id
—
commit_hash
6c3a8c553f98c8bdf42a24f49cbaa206b55c80d5
source_type
github
headline
vect: Drop unnecessary codes on two_operators SLP nodes
tldr
Cleans up SLP node construction by removing unnecessary tree codes, improving consistency.
author
Alex Coplan
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vect
  • • optimization
  • • SLP
discussion_id_link
—
bugzilla_pr
—
date
2026-07-24T00:00:00.000Z

This commit removes the setting of specific tree codes (like PLUS_EXPR or MINUS_EXPR) on synthetic nodes created during SLP (Superword-Level Parallelism) vectorization for two_operators cases. These codes are not needed by the downstream complex add pattern, which relies on the representative statement’s code. Leaving these fields as ERROR_MARK aligns with the recent assert that restricts SLP node codes and is considered a non-functional cleanup.