Since we use match shl (v, splat 1) to vadd, we could also expand to widening add.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153112
[RISCV] Match shl (ext v, splat 1) to vector widening add. ClosedPublic Authored by jacquesguan on Jun 16 2023, 2:04 AM.
Details Summary Since we use match shl (v, splat 1) to vadd, we could also expand to widening add.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 16 2023, 11:14 AM Closed by commit rG04ed822dcc21: [RISCV] Match shl (ext v, splat 1) to vector widening add. (authored by jacquesguan). · Explain WhyJun 18 2023, 6:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 532498 llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/mscatter-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vpgather-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vpscatter-sdnode.ll
|