Landing: d1b4bf7c25ca
Project / Subsystem
gcc / match
Date
2026-09-19
Author
Andrea Pinski
Commit
d1b4bf7c25ca1a57bb438b91439c0484eb73ac64
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- match
- patch_id
- —
- commit_hash
- d1b4bf7c25ca1a57bb438b91439c0484eb73ac64
- source_type
- github
- headline
- Remove redundant comparison check in vec_cond pattern
- tldr
- Simplifies a pattern matching a conditional vector expression by removing an unnecessary comparison.
- author
- Andrea Pinski
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • pattern-matching
- • codegen
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-19T00:00:00.000Z
A pattern in the match.pd file used for matching conditional vector expressions has been simplified. The inner comparison within the VCE (Vector Conditional Expression) construct was found to be redundant for the purpose of VEC_COND matching and has been removed. This change may lead to slightly more optimized generated code by genmatch and could potentially improve matching for certain bitwise operations.