Landing: d7a53868a7fa

Project / Subsystem

gcc / gcc

Date

2026-05-13

Author

Richard Biener

Commit

d7a53868a7fa1c57032ff1b2544311df0f5af31a

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
d7a53868a7fa1c57032ff1b2544311df0f5af31a
source_type
github
headline
Record (de-)composition type in ls_type for VMAT_STRIDED_SLP accesses.
tldr
This commit records vector decomposition information for strided SLP accesses, which will help in target-specific cost modeling.
author
Richard Biener
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • vectorization
  • optimization
  • slp
discussion_id_link
bugzilla_pr
date
2026-05-13T00:00:00.000Z

This commit enhances vectorization by recording the vector (de-)composition type for VMAT_STRIDED_SLP (vectorizable memory access type, strided, Super-word Level Parallelism) loads and stores. This information is stored in the ls_type field of the load/store data, making it available during target costing. This allows the compiler to make more informed decisions about the cost and effectiveness of vectorization for specific target architectures.