Define vmerge/vfmerge intrinsics and lower to V instructions.
Include support for vector-vector vfmerge by vmerge.vvm.
We work with @rogfer01 from BSC to come out this patch.
Paths
| Differential D93674
[RISCV] Define vmerge/vfmerge intrinsics. ClosedPublic Authored by khchen on Dec 21 2020, 9:33 PM.
Details Summary Define vmerge/vfmerge intrinsics and lower to V instructions. Include support for vector-vector vfmerge by vmerge.vvm. We work with @rogfer01 from BSC to come out this patch.
Diff Detail
Event TimelineHerald added subscribers: NickHung, luismarques, apazos and 24 others. · View Herald TranscriptDec 21 2020, 9:33 PM
This revision is now accepted and ready to land.Dec 22 2020, 6:37 PM Closed by commit rG032600b9aef9: [RISCV] Define vmerge/vfmerge intrinsics. (authored by khchen). · Explain WhyDec 23 2020, 12:07 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313465 llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/test/CodeGen/RISCV/rvv/vfmerge-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vfmerge-rv64.ll
llvm/test/CodeGen/RISCV/rvv/vmerge-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vmerge-rv64.ll
|
why would the scalar argument be an 'a' register? Shouldn't it always be ft or fa?