We can use tail undisturbed vslide1down to insert into the vector.
This should make D136640 unneeded.
Paths
| Differential D136738
[RISCV] Optimize i64 insertelt on RV32. ClosedPublic Authored by craig.topper on Oct 25 2022, 10:52 PM.
Details Summary We can use tail undisturbed vslide1down to insert into the vector. This should make D136640 unneeded.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 28 2022, 9:02 AM This revision was landed with ongoing or failed builds.Oct 28 2022, 10:23 AM Closed by commit rG6a794419cddb: [RISCV] Optimize i64 insertelt on RV32. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 471588 llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitcast.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-bitcast.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll
llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv32.ll
|