[llvm] 6708beb - [RISCV] Remove more unneeded template parameters from RISCVInstrInfoZvk.td. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 15:20:47 PDT 2024
Author: Craig Topper
Date: 2024-03-25T15:20:40-07:00
New Revision: 6708beb35792b5ccd6b2143b3396bf261acce676
URL: https://github.com/llvm/llvm-project/commit/6708beb35792b5ccd6b2143b3396bf261acce676
DIFF: https://github.com/llvm/llvm-project/commit/6708beb35792b5ccd6b2143b3396bf261acce676.diff
LOG: [RISCV] Remove more unneeded template parameters from RISCVInstrInfoZvk.td. NFC
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td b/llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
index 09e61c10a57bdf..617ca3242cc75f 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
@@ -269,24 +269,24 @@ multiclass VPseudoVALU_VV_NoMask_Zvk {
}
}
-multiclass VPseudoVALU_VI_NoMask_Zvk<Operand ImmType = simm5> {
+multiclass VPseudoVALU_VI_NoMask_Zvk {
foreach m = MxListVF4 in {
defvar mx = m.MX;
defvar WriteVIALUV_MX = !cast<SchedWrite>("WriteVIALUV_" # mx);
defvar ReadVIALUV_MX = !cast<SchedRead>("ReadVIALUV_" # mx);
- defm _VI : VPseudoBinaryNoMask_Zvk<m.vrclass, m.vrclass, ImmType, m>,
+ defm _VI : VPseudoBinaryNoMask_Zvk<m.vrclass, m.vrclass, uimm5, m>,
Sched<[WriteVIALUV_MX, ReadVIALUV_MX, ReadVIALUV_MX, ReadVMask]>;
}
}
-multiclass VPseudoVALU_VI_NoMaskTU_Zvk<Operand ImmType = uimm5> {
+multiclass VPseudoVALU_VI_NoMaskTU_Zvk {
foreach m = MxListVF4 in {
defvar mx = m.MX;
defvar WriteVIALUV_MX = !cast<SchedWrite>("WriteVIALUV_" # mx);
defvar ReadVIALUV_MX = !cast<SchedRead>("ReadVIALUV_" # mx);
- defm _VI : VPseudoBinaryNoMask<m.vrclass, m.vrclass, ImmType, m>,
+ defm _VI : VPseudoBinaryNoMask<m.vrclass, m.vrclass, uimm5, m>,
Sched<[WriteVIALUV_MX, ReadVIALUV_MX, ReadVIALUV_MX, ReadVMask]>;
}
}
@@ -369,7 +369,7 @@ let Predicates = [HasStdExtZvkned] in {
defm PseudoVAESEF : VPseudoVALU_V_S_NoMask_Zvk;
defm PseudoVAESEM : VPseudoVALU_V_S_NoMask_Zvk;
defm PseudoVAESKF1 : VPseudoVALU_VI_NoMaskTU_Zvk;
- defm PseudoVAESKF2 : VPseudoVALU_VI_NoMask_Zvk<uimm5>;
+ defm PseudoVAESKF2 : VPseudoVALU_VI_NoMask_Zvk;
defm PseudoVAESZ : VPseudoVALU_S_NoMask_Zvk;
} // Predicates = [HasStdExtZvkned]
@@ -385,7 +385,7 @@ let Predicates = [HasStdExtZvksed] in {
} // Predicates = [HasStdExtZvksed]
let Predicates = [HasStdExtZvksh] in {
- defm PseudoVSM3C : VPseudoVALU_VI_NoMask_Zvk<uimm5>;
+ defm PseudoVSM3C : VPseudoVALU_VI_NoMask_Zvk;
defm PseudoVSM3ME : VPseudoVALU_VV_NoMaskTU_Zvk;
} // Predicates = [HasStdExtZvksh]
More information about the llvm-commits
mailing list