Landing: eae54dd6e4cc

Project / Subsystem

gcc / vect

Date

2026-05-27

Author

Tamar Christina

Commit

eae54dd6e4cc69b4c86521f501339ef9fe0eab3f

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
vect
patch_id
commit_hash
eae54dd6e4cc69b4c86521f501339ef9fe0eab3f
source_type
github
headline
Vectorization: Drop prefetches during if-conversion.
tldr
The vectorizer will now drop prefetches during if-conversion, which simplifies later vectorization efforts.
author
Tamar Christina
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • vectorization
  • prefetch
  • optimization
discussion_id_link
bugzilla_pr
date
2026-05-27T00:00:00.000Z

This change addresses an issue where prefetches within conditional statements were not being properly handled during vectorization. The conditionality introduced a non-if-convertible block, preventing the vectorizer from removing the prefetch. This patch now drops these prefetches during if-conversion, paving the way for potential vectorization of these prefetches in the future.