[RISCV] Add a test showing missed opportunity to avoid a vsetvli in a loop.
authorCraig Topper <craig.topper@sifive.com>
Thu, 27 May 2021 18:28:19 +0000 (11:28 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 27 May 2021 18:30:25 +0000 (11:30 -0700)
commitd7ae2438b9bd062159fa9bfa8e4db2b8a0d66e38
tree56eea84a30b02921bf43be02d5624212364903a1
parent8d7d7f340ea0202cedddc786b484048da4bbc767
[RISCV] Add a test showing missed opportunity to avoid a vsetvli in a loop.

This is another case we need to look through a phi to prove.
llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll