Landing: 038908c78e83
Project / Subsystem
gcc / gcc/risc-v
Date
2026-01-23
Author
Robin Dapp
Commit
038908c78e836672f57860e6bf5a956fc06bf4ff
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/risc-v
- patch_id
- —
- commit_hash
- 038908c78e836672f57860e6bf5a956fc06bf4ff
- source_type
- github
- headline
- RISC-V: Simplify vector comparison by removing cbranch_all patterns.
- tldr
- GCC's RISC-V backend no longer uses cbranch_all patterns for vector comparisons, simplifying the code.
- author
- Robin Dapp
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcc
- • risc-v
- • vectorization
- • optimization
- • code simplification
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-01-23T00:00:00.000Z
This commit removes the cbranch_all patterns from the RISC-V backend. The original implementation of these patterns was flawed, and the existing early-break handling provides similar functionality. The int and float comparison emitter functions are unified, with the latter now supporting masking.