Skip to content

[RISCV] Can we teach RISCVectorPeephole to commute FMA to fold vmerge? #141885

Open
@topperc

Description

@topperc

We have special isel patterns like VPatFPMulAccVL_VV_VF_RM and VPatMultiplyAccVL_VV_VX that look for riscv_vmerge_vl and an fma or mul+add. Can improve RISCVectorPeephole to remove these patterns?

CC: @lukel97 @preames

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions