[llvm] cbd7eab - [RISCV] Replace TU with Policy in tablegen class name. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 9 19:23:16 PDT 2024
Author: Craig Topper
Date: 2024-06-09T19:07:52-07:00
New Revision: cbd7eab911986eca8e6cbac8cf7ef0c822bfc2eb
URL: https://github.com/llvm/llvm-project/commit/cbd7eab911986eca8e6cbac8cf7ef0c822bfc2eb
DIFF: https://github.com/llvm/llvm-project/commit/cbd7eab911986eca8e6cbac8cf7ef0c822bfc2eb.diff
LOG: [RISCV] Replace TU with Policy in tablegen class name. 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 08543c6bd72d8..77d3644687fdd 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
@@ -4197,16 +4197,16 @@ class VPatBinaryMaskPolicy<string intrinsic_name,
(op2_type op2_kind:$rs2),
(mask_type V0), GPR:$vl, sew, (XLenVT timm:$policy))>;
-class VPatBinaryMaskTARoundingMode<string intrinsic_name,
- string inst,
- ValueType result_type,
- ValueType op1_type,
- ValueType op2_type,
- ValueType mask_type,
- int sew,
- VReg result_reg_class,
- VReg op1_reg_class,
- DAGOperand op2_kind> :
+class VPatBinaryMaskPolicyRoundingMode<string intrinsic_name,
+ string inst,
+ ValueType result_type,
+ ValueType op1_type,
+ ValueType op2_type,
+ ValueType mask_type,
+ int sew,
+ VReg result_reg_class,
+ VReg op1_reg_class,
+ DAGOperand op2_kind> :
Pat<(result_type (!cast<Intrinsic>(intrinsic_name#"_mask")
(result_type result_reg_class:$merge),
(op1_type op1_reg_class:$rs1),
@@ -4720,9 +4720,9 @@ multiclass VPatBinaryRoundingMode<string intrinsic,
DAGOperand op2_kind> {
def : VPatBinaryNoMaskTURoundingMode<intrinsic, inst, result_type, op1_type, op2_type,
sew, result_reg_class, op1_reg_class, op2_kind>;
- def : VPatBinaryMaskTARoundingMode<intrinsic, inst, result_type, op1_type, op2_type,
- mask_type, sew, result_reg_class, op1_reg_class,
- op2_kind>;
+ def : VPatBinaryMaskPolicyRoundingMode<intrinsic, inst, result_type, op1_type, op2_type,
+ mask_type, sew, result_reg_class, op1_reg_class,
+ op2_kind>;
}
multiclass VPatBinaryMSwapped<string intrinsic,
@@ -5094,10 +5094,10 @@ multiclass VPatBinaryW_WV_RM<string intrinsic, string instruction,
Wti.Vector, Vti.Vector, Vti.Mask,
Vti.Log2SEW, Wti.RegClass, Vti.RegClass>;
}
- def : VPatBinaryMaskTARoundingMode<intrinsic, name,
- Wti.Vector, Wti.Vector, Vti.Vector, Vti.Mask,
- Vti.Log2SEW, Wti.RegClass,
- Wti.RegClass, Vti.RegClass>;
+ def : VPatBinaryMaskPolicyRoundingMode<intrinsic, name,
+ Wti.Vector, Wti.Vector, Vti.Vector, Vti.Mask,
+ Vti.Log2SEW, Wti.RegClass,
+ Wti.RegClass, Vti.RegClass>;
}
}
}
More information about the llvm-commits
mailing list