Landing: 28f2250ad1d3

Project / Subsystem

gcc / gcc/vectorizer

Date

2026-08-05

Author

Richard Biener

Commit

28f2250ad1d37f49edb0efd1d88e3877257ab4a1

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/vectorizer
patch_id
—
commit_hash
28f2250ad1d37f49edb0efd1d88e3877257ab4a1
source_type
github
headline
Simplify vect_get_vec_defs API.
tldr
Vectorizer's `vect_get_vec_defs` API is simplified to improve clarity and code cleanup.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vectorizer
  • • optimization
  • • refactor
discussion_id_link
—
bugzilla_pr
—
date
2026-08-05T00:00:00.000Z

The vect_get_vec_defs function within the GCC vectorizer has been refactored to accept a boolean argument instead of a tree argument. This change clarifies its purpose: indicating whether to fill the vector definitions vector for an operand. The modification also simplifies related code in several vectorizable routines and cleans up the tree-vectorizer.h header.