Landing: 17ab71c1aa6d

Project / Subsystem

gcc / gcc

Date

2026-07-23

Author

Richard Biener

Commit

17ab71c1aa6d6d9f2fdcde61dfea8af478a9936d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
17ab71c1aa6d6d9f2fdcde61dfea8af478a9936d
source_type
github
headline
Avoid allocating stmt_vec_info for labels in vectorizer.
tldr
Vectorizer no longer allocates stmt_vec_info for labels, simplifying internal data structures.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vectorization
  • • compiler internals
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-07-23T00:00:00.000Z

This change optimizes the GCC vectorizer by preventing the allocation of stmt_vec_info structures for labels. This is a cleanup measure as these structures are not needed for labels. The modification affects tree-vect-loop.cc, tree-vect-slp.cc, and tree-vect-data-refs.cc, ensuring that only relevant statements are processed.