[RISCV][NFC] Simplify code.
authorJianjian GUAN <jacquesguan@me.com>
Thu, 18 May 2023 03:07:01 +0000 (11:07 +0800)
committerJianjian GUAN <jacquesguan@me.com>
Thu, 18 May 2023 06:41:20 +0000 (14:41 +0800)
Use AllVectors to replace !listconcat(AllIntegerVectors, AllFloatVectors).

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D150837

llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

index 7ca73f5..8f1ee5b 100644 (file)
@@ -2395,7 +2395,7 @@ foreach vti = AllIntegerVectors in {
                 vti.RegClass:$rd, vti.RegClass:$rs1, GPR:$rs2, GPR:$vl, vti.Log2SEW)>;
 }
 
-foreach vti = !listconcat(AllIntegerVectors, AllFloatVectors) in {
+foreach vti = AllVectors in {
   def : Pat<(vti.Vector (riscv_slideup_vl (vti.Vector vti.RegClass:$rs3),
                                           (vti.Vector vti.RegClass:$rs1),
                                           uimm5:$rs2, (vti.Mask true_mask),