diff --git a/llvm/include/llvm/IR/IntrinsicsRISCV.td b/llvm/include/llvm/IR/IntrinsicsRISCV.td --- a/llvm/include/llvm/IR/IntrinsicsRISCV.td +++ b/llvm/include/llvm/IR/IntrinsicsRISCV.td @@ -682,29 +682,6 @@ // For Saturating binary operations. // The destination vector type is the same as first source vector. // The second source operand matches the destination type or is an XLen scalar. - // Input: (passthru, vector_in, vector_in/scalar_in, vl) - class RISCVSaturatingBinaryAAShiftUnMasked - : DefaultAttrsIntrinsic<[llvm_anyvector_ty], - [LLVMMatchType<0>, LLVMMatchType<0>, llvm_any_ty, - llvm_anyint_ty], - [IntrNoMem, IntrHasSideEffects]>, RISCVVIntrinsic { - let VLOperand = 3; - } - // For Saturating binary operations with mask. - // The destination vector type is the same as first source vector. - // The second source operand matches the destination type or is an XLen scalar. - // Input: (maskedoff, vector_in, vector_in/scalar_in, mask, vl, policy) - class RISCVSaturatingBinaryAAShiftMasked - : DefaultAttrsIntrinsic<[llvm_anyvector_ty], - [LLVMMatchType<0>, LLVMMatchType<0>, llvm_any_ty, - LLVMScalarOrSameVectorWidth<0, llvm_i1_ty>, llvm_anyint_ty, - LLVMMatchType<2>], - [ImmArg>, IntrNoMem, IntrHasSideEffects]>, RISCVVIntrinsic { - let VLOperand = 4; - } - // For Saturating binary operations. - // The destination vector type is the same as first source vector. - // The second source operand matches the destination type or is an XLen scalar. // Input: (passthru, vector_in, vector_in/scalar_in, vxrm, vl) class RISCVSaturatingBinaryAAShiftUnMaskedRoundingMode : DefaultAttrsIntrinsic<[llvm_anyvector_ty], @@ -730,29 +707,6 @@ // For Saturating binary operations. // The destination vector type is NOT the same as first source vector. // The second source operand matches the destination type or is an XLen scalar. - // Input: (passthru, vector_in, vector_in/scalar_in, vl) - class RISCVSaturatingBinaryABShiftUnMasked - : DefaultAttrsIntrinsic<[llvm_anyvector_ty], - [LLVMMatchType<0>, llvm_anyvector_ty, llvm_any_ty, - llvm_anyint_ty], - [IntrNoMem, IntrHasSideEffects]>, RISCVVIntrinsic { - let VLOperand = 3; - } - // For Saturating binary operations with mask. - // The destination vector type is NOT the same as first source vector (with mask). - // The second source operand matches the destination type or is an XLen scalar. - // Input: (maskedoff, vector_in, vector_in/scalar_in, mask, vl, policy) - class RISCVSaturatingBinaryABShiftMasked - : DefaultAttrsIntrinsic<[llvm_anyvector_ty], - [LLVMMatchType<0>, llvm_anyvector_ty, llvm_any_ty, - LLVMScalarOrSameVectorWidth<0, llvm_i1_ty>, llvm_anyint_ty, - LLVMMatchType<3>], - [ImmArg>, IntrNoMem, IntrHasSideEffects]>, RISCVVIntrinsic { - let VLOperand = 4; - } - // For Saturating binary operations. - // The destination vector type is NOT the same as first source vector. - // The second source operand matches the destination type or is an XLen scalar. // Input: (passthru, vector_in, vector_in/scalar_in, vxrm, vl) class RISCVSaturatingBinaryABShiftUnMaskedRoundingMode : DefaultAttrsIntrinsic<[llvm_anyvector_ty],