Landing: 5c09804150b2

Project / Subsystem

gcc / gcc/vectorization

Date

2026-04-29

Author

Richard Biener

Commit

5c09804150b2da7c18751905e7f1a23b7357bc06

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/vectorization
patch_id
commit_hash
5c09804150b2da7c18751905e7f1a23b7357bc06
source_type
github
headline
Adjust x86 vectorization tests for cost comparison.
tldr
GCC test suite updates include duplicating vectorization tests with explicit cost comparison flags to ensure accurate behavior.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gcc
  • vectorization
  • x86
  • testing
discussion_id_link
bugzilla_pr
date
2026-04-29T00:00:00.000Z

Several x86 vectorization tests have been adjusted to account for the enabled vector cost comparison feature. The changes involve duplicating test cases, with one version explicitly disabling cost comparison (--param ix86-vect-compare-costs=0) and the other enabling it (--param ix86-vect-compare-costs=1). This allows verifying the behavior of the vectorizer under both configurations, particularly for epilogue selection.