Landing: 85b975c5795c

Project / Subsystem

gcc / tree-optimization

Date

2026-08-31

Author

Richard Biener

Commit

85b975c5795c11cf9cb0db357c4e16f961c7adba

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
85b975c5795c11cf9cb0db357c4e16f961c7adba
source_type
github
headline
Fixes typo in vectorizer mask conversion pattern recognition.
tldr
Corrects a type typo in vectorizer's mask conversion pattern to fix PR127116.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • vectorization
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-31T00:00:00.000Z

This commit corrects a typo in the GCC vectorizer’s pattern recognition for mask conversions. Specifically, rhs1_type was passed incorrectly to build_mask_conversion in vect_recog_mask_conversion_pattern. The change ensures the correct scalar type is used, fixing PR127116. Debugging dumps for mask precision have also been added to relevant functions.