Landing: 53e0c6b96561

Project / Subsystem

gcc / gcc/tree-vect

Date

2026-03-03

Author

Richard Biener

Commit

53e0c6b96561c4f2f7fc7831793c4ad8bd4db0f7

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-vect
patch_id
commit_hash
53e0c6b96561c4f2f7fc7831793c4ad8bd4db0f7
source_type
github
headline
Compute Full Scalar Statement Coverage During Vectorization
tldr
The compiler now computes full scalar statement coverage during basic block vectorization for simpler and more precise live lane determination and scalar costi…
author
Richard Biener
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • vectorization
  • SLP
discussion_id_link
bugzilla_pr
date
2026-03-03T00:00:00.000Z

This commit re-purposes STMT_SLP_TYPE to indicate the scalar statement coverage of the vectorized SLP graph in basic block vectorization. This allows for simpler and more precise determination of live lanes and scalar costing, potentially improving the efficiency of vectorized code.