[llvm] 94a8be4 - [RISCV] Move vslideup/down tablegen classes together. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 15:25:54 PDT 2023


Author: Craig Topper
Date: 2023-06-01T15:25:09-07:00
New Revision: 94a8be41c43b7704505b3504f5abf3f7f99cf70d

URL: https://github.com/llvm/llvm-project/commit/94a8be41c43b7704505b3504f5abf3f7f99cf70d
DIFF: https://github.com/llvm/llvm-project/commit/94a8be41c43b7704505b3504f5abf3f7f99cf70d.diff

LOG: [RISCV] Move vslideup/down tablegen classes together. NFC

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
index a39f928b36c7..eb18e38e5302 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
@@ -3216,10 +3216,6 @@ multiclass VPseudoTernaryV_VV_AAXA<LMULInfo m, string Constraint = ""> {
                                       Constraint, /*Commutable*/1>;
 }
 
-multiclass VPseudoVSLDV_VX<LMULInfo m, string Constraint = ""> {
-  defm _VX : VPseudoTernaryWithPolicy<m.vrclass, m.vrclass, GPR, m, Constraint>;
-}
-
 multiclass VPseudoTernaryV_VX_AAXA<LMULInfo m, string Constraint = ""> {
   defm "_VX" : VPseudoTernaryWithPolicy<m.vrclass, GPR, m.vrclass, m,
                                         Constraint, /*Commutable*/1>;
@@ -3249,6 +3245,10 @@ multiclass VPseudoTernaryW_VF<LMULInfo m, FPR_Info f> {
                                               m.vrclass, m, constraint>;
 }
 
+multiclass VPseudoVSLDV_VX<LMULInfo m, string Constraint = ""> {
+  defm _VX : VPseudoTernaryWithPolicy<m.vrclass, m.vrclass, GPR, m, Constraint>;
+}
+
 multiclass VPseudoVSLDV_VI<Operand ImmType = simm5, LMULInfo m, string Constraint = ""> {
   defm _VI : VPseudoTernaryWithPolicy<m.vrclass, m.vrclass, ImmType, m, Constraint>;
 }


        


More information about the llvm-commits mailing list