HomePhabricator

[RISCV] Add support for VECTOR_REVERSE for scalable vector types.

Authored by craig.topper on Mar 9 2021, 9:43 AM.

Description

[RISCV] Add support for VECTOR_REVERSE for scalable vector types.

I've left mask registers to a future patch as we'll need
to convert them to full vectors, shuffle, and then truncate.

Reviewed By: frasercrmck

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