[RISCV] Don't require loop simplify form in RISCVGatherScatterLowering.
authorCraig Topper <craig.topper@sifive.com>
Fri, 10 Jun 2022 19:51:01 +0000 (12:51 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 10 Jun 2022 20:00:20 +0000 (13:00 -0700)
commit08ea27bf13e68afc805b31af27634103dd392c8c
tree703a8f7db069947a67b6b6895e5461d7c0f0c0ab
parenta639e1fceb727a628bc52a064f2a2462fe1a5eaa
[RISCV] Don't require loop simplify form in RISCVGatherScatterLowering.

We need a preheader and a single latch, but we don't need a dedicated
exit.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D127513
llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vector-strided-load-store-asm.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vector-strided-load-store.ll