Landing: 8b41dfcf9b39
Project / Subsystem
gcc / gcc/tree-vect
Date
2026-07-30
Author
Richard Biener
Commit
8b41dfcf9b39b7c4be41ab4040ac85c588f7f373
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/tree-vect
- patch_id
- —
- commit_hash
- 8b41dfcf9b39b7c4be41ab4040ac85c588f7f373
- source_type
- github
- headline
- Deal with all vector defs in vectorizable_live_operation
- tldr
- Ensures proper handling of vector definitions in vectorizable_live_operation for loop vectorization.
- author
- Richard Biener
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • vectorization
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-30T00:00:00.000Z
This commit addresses how vectorizable_live_operation handles vector definitions, particularly when copies are no longer strictly required. The function now correctly computes an insert location by considering all vector definitions, inserting on region entry if necessary. This ensures that default or constant vector definitions are properly handled during loop vectorization, preventing potential issues in loop transformations.