[RISCV] Add swapped patterns to VPatIntegerSetCCVL_VIPlus1.
authorCraig Topper <craig.topper@sifive.com>
Thu, 7 Apr 2022 16:05:51 +0000 (09:05 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 7 Apr 2022 16:17:08 +0000 (09:17 -0700)
commit82662b753dbf49b16d2c91b5c15c5cc8bcd78c45
treea5b823fc684772b876cd4fcc49e49f4f930e125e
parenta88e8374db3d6a0ede8a456cbfe6d5ffdc5ae8f9
[RISCV] Add swapped patterns to VPatIntegerSetCCVL_VIPlus1.

This matches VPatIntegerSetCCVL_VI_Swappable. But as noted in the
FIXME this may only be needed due to lack of canonicalization on
VP_SETCC.

Reviewed By: rogfer01

Differential Revision: https://reviews.llvm.org/D123239
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-int-vp.ll
llvm/test/CodeGen/RISCV/rvv/setcc-int-vp.ll