[RISCV] Revise test coverage for shuffle/insert idiom which become v(f)slide1ups
authorPhilip Reames <preames@rivosinc.com>
Fri, 26 May 2023 14:59:08 +0000 (07:59 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 26 May 2023 15:09:57 +0000 (08:09 -0700)
commit461d571e1581b148fc3c0384e027e3165d299487
tree6872d460f510d338662f7c10b2bd2ee14d7a3219
parent6a524fb1d28546d059d6a3f2e7c0450d69dbf80b
[RISCV] Revise test coverage for shuffle/insert idiom which become v(f)slide1ups

This fixes a couple mistakes in 0f64d4f877.  In particular, I'd not included a negative test where the slideup didn't write the entire VL, and had gotten all of my 4 element vector shuffle masks incorrect so they didn't match.  Also, add a test with swapped operands for completeness.

The transform is in D151468.
llvm/test/CodeGen/RISCV/rvv/fixed-vector-shuffle-vslide1up.ll