Landing: 1dec33551628

Project / Subsystem

gcc / tree-optimization

Date

2026-08-11

Author

Richard Biener

Commit

1dec3355162851ab3cf991fbf8c7fa9cd08331f3

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
1dec3355162851ab3cf991fbf8c7fa9cd08331f3
source_type
github
headline
Fix vector boolean type precision in pattern recognition
tldr
Corrects mask precision calculation for vector boolean types to enable proper vectorization.
author
Richard Biener
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vectorization
  • • optimization
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-11T00:00:00.000Z

This commit addresses an issue where the mask precision for vector boolean types was incorrectly calculated, leading to failed vectorization. By ensuring the original scalar type is used to determine precision, the fix enables correct pattern recognition and improves vectorization for specific operations.