Landing: faf5c056ca18

Project / Subsystem

gcc / tree-optimization

Date

2026-09-15

Author

Richard Biener

Commit

faf5c056ca1826cffb5673fa3b445eb61a6bb7eb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
faf5c056ca1826cffb5673fa3b445eb61a6bb7eb
source_type
github
headline
Vectorization rejects bit-precision integer comparisons
tldr
Vectorizer now correctly rejects comparisons of _BitInt types, requiring bitfield lowering.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vectorization
  • • optimization
  • • _BitInt
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-09-15T00:00:00.000Z

The GCC vectorizer previously failed to reject attempts to vectorize comparisons involving non-mode precision integer types, such as _BitInt. This commit modifies vectorizable_comparison_1 to reject such comparisons, ensuring they are handled by bitfield lowering in ifcvt or through pattern recognition, addressing PR tree-optimization/127390.