[RISCV] Use lowerScalarInsert in lowerReductionSeq [nfc]
authorPhilip Reames <preames@rivosinc.com>
Tue, 13 Dec 2022 16:47:49 +0000 (08:47 -0800)
committerPhilip Reames <listmail@philipreames.com>
Tue, 13 Dec 2022 17:08:39 +0000 (09:08 -0800)
commit44e0427cf08516028206e266563ecc3dbfe09f2f
tree11c4d8142a4f62d2f1d798cc0d6012985499e3d6
parent1b0d63c506c042045792cd98c0dd2be912b6a96d
[RISCV] Use lowerScalarInsert in lowerReductionSeq [nfc]

Use the newly introduced helper routine.  At the moment, this generates the same code (at this call site!) since LMUL is restricted to LMUL1 or less, and VL is hard coded to 1.  In a future patch, I will loosen the second part.
llvm/lib/Target/RISCV/RISCVISelLowering.cpp