Landing: 7cdbbbdecb09

Project / Subsystem

gcc / risc-v

Date

2026-08-04

Author

Robin Dapp

Commit

7cdbbbdecb09e518e28c5116b05e0018b9460b95

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
—
commit_hash
7cdbbbdecb09e518e28c5116b05e0018b9460b95
source_type
github
headline
RISC-V: Fix single-step expansion.
tldr
Corrects RISC-V single-step instruction expansion by using the correct pattern count.
author
Robin Dapp
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • risc-v
  • • vectorization
discussion_id_link
—
bugzilla_pr
—
date
2026-08-04T00:00:00.000Z

This change fixes an issue in the RISC-V vector constant synthesis where an incorrect number of patterns was used for creating intermediate operations. The fix ensures that the ‘npatterns’ from the original vector builder are used, aligning the expansion logic with the intended behavior and resolving a problem reported in PR126550.