HomePhabricator

[RISCV] Add helper function to share some of the code for isel of vector…

Authored by craig.topper on Apr 5 2021, 10:06 PM.

Description

[RISCV] Add helper function to share some of the code for isel of vector load/store intrinsics.

Many of the operands are handled the same or in the same order
for all these intrinsics. Factor out the code for selecting and
pushing them into the Operands vector.

Differential Revision: https://reviews.llvm.org/D99923