[RISCV] Add a test covering a (reverted) codegen issue
authorFraser Cormack <fraser@codeplay.com>
Thu, 30 Jun 2022 08:25:35 +0000 (09:25 +0100)
committerFraser Cormack <fraser@codeplay.com>
Thu, 30 Jun 2022 08:27:52 +0000 (09:27 +0100)
commitd5213c83ffe4b7deae0bc32f6217b6c671fd0161
tree3ffccfd899ad121ea470f71654b65bcbce8342ce
parent411f839ae36f0f56ce0b6c5f4e37039c54bdd9f7
[RISCV] Add a test covering a (reverted) codegen issue

This test checks one of problematic cases outlined in D128006, leading
to the patch's reversal. I thought it best to add a test just in case
this sort of optimization is attempted again in the future in some
fashion.
llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir