[PATCH] D126273: [DAGCombiner][VP] Add DAGCombine for merging VP_FADD and VP_FMUL to VP_FMA.
Liao Chunyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 01:11:06 PDT 2022
liaolucy added a comment.
When I test tsvc.
The IR is:
@llvm.fmuladd.nxv2f32(<vscale x 2 x float>.....
Not
@llvm.riscv.vfmul.nxv2f32.nxv2f32(<vscale x 2 x float> ......
@llvm.riscv.vfadd.nxv2f32.nxv2f32(<vscale x 2 x float> ......
So I am not sure, we need merge vp.fmul and vp.fadd to vp.fma. maybe vp.fma is enough?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126273/new/
https://reviews.llvm.org/D126273
More information about the llvm-commits
mailing list