Add might be faster than shift. We can't do this earlier without
using a Freeze instruction.
This is the intrinsic version of D106689.
Paths
| Differential D118013
[RISCV] Select int_riscv_vsll with shift of 1 to vadd.vv. ClosedPublic Authored by craig.topper on Jan 23 2022, 9:40 PM.
Details Summary Add might be faster than shift. We can't do this earlier without This is the intrinsic version of D106689.
Diff Detail
Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 24 others. · View Herald TranscriptJan 23 2022, 9:40 PM This revision is now accepted and ready to land.Jan 24 2022, 2:27 AM This revision was landed with ongoing or failed builds.Jan 24 2022, 8:05 AM Closed by commit rGcd2a9ff39788: [RISCV] Select int_riscv_vsll with shift of 1 to vadd.vv. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 402534 llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/test/CodeGen/RISCV/rvv/vsll-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vsll-rv64.ll
|