A vector add may be faster than a vector shift.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D106689
[RISCV] Select vector shl by 1 to a vector add. ClosedPublic Authored by craig.topper on Jul 23 2021, 10:43 AM.
Details Summary A vector add may be faster than a vector shift.
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: StephenFan, vkmr, evandro and 24 others. · View Herald TranscriptJul 23 2021, 10:43 AM This revision is now accepted and ready to land.Jul 27 2021, 4:57 AM This revision was landed with ongoing or failed builds.Jul 27 2021, 10:58 AM Closed by commit rG3852b8c70fbf: [RISCV] Select vector shl by 1 to a vector add. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 361279 llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll
llvm/test/CodeGen/RISCV/rvv/mgather-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/mscatter-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vshl-sdnode-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vshl-sdnode-rv64.ll
llvm/test/CodeGen/RISCV/urem-seteq-illegal-types.ll
|