Landing: 8686599fb939

Project / Subsystem

gcc / gcc/tree-vect

Date

2026-02-26

Author

Richard Biener

Commit

8686599fb9397d873902a9a3e2854ccbfe6d17c3

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-vect
patch_id
commit_hash
8686599fb9397d873902a9a3e2854ccbfe6d17c3
source_type
github
headline
Refactor APIs for Vectorization Operand Mapping
tldr
The APIs `vect_slp_child_index_for_operand` and `vect_get_operand_map` are updated to simplify how operand information is accessed during vectorization.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • vectorization
  • SLP
  • refactor
discussion_id_link
bugzilla_pr
date
2026-02-26T00:00:00.000Z

This commit cleans up the vect_slp_child_index_for_operand and vect_get_operand_map APIs by having them receive a stmt_vec_info object, which elides the need for a separate gather-scatter flag argument. This simplifies the API and improves code clarity in the vectorization process.