diff --git a/llvm/include/llvm/IR/IntrinsicsRISCV.td b/llvm/include/llvm/IR/IntrinsicsRISCV.td index 80c5c7035c19b..1784454f1b73a 100644 --- a/llvm/include/llvm/IR/IntrinsicsRISCV.td +++ b/llvm/include/llvm/IR/IntrinsicsRISCV.td @@ -80,11 +80,11 @@ let TargetPrefix = "riscv" in { let TargetPrefix = "riscv" in { class RISCVBitManipGPRIntrinsics - : DefaultAttrsIntrinsic<[llvm_any_ty], + : DefaultAttrsIntrinsic<[llvm_anyint_ty], [LLVMMatchType<0>], [IntrNoMem, IntrSpeculatable]>; class RISCVBitManipGPRGPRIntrinsics - : DefaultAttrsIntrinsic<[llvm_any_ty], + : DefaultAttrsIntrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem, IntrSpeculatable]>; @@ -115,11 +115,11 @@ let TargetPrefix = "riscv" in { // Zimop def int_riscv_mopr - : DefaultAttrsIntrinsic<[llvm_any_ty], + : DefaultAttrsIntrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem, IntrSpeculatable, ImmArg>]>; def int_riscv_moprr - : DefaultAttrsIntrinsic<[llvm_any_ty], + : DefaultAttrsIntrinsic<[llvm_anyint_ty], [LLVMMatchType<0>, LLVMMatchType<0>, LLVMMatchType<0>], [IntrNoMem, IntrSpeculatable, ImmArg>]>; } // TargetPrefix = "riscv" @@ -135,7 +135,7 @@ defvar NoScalarOperand = 0xF; defvar NoVLOperand = 0x1F; class RISCVVIntrinsic { - // These intrinsics may accept illegal integer values in their llvm_any_ty + // These intrinsics may accept illegal integer values in their llvm_anyint_ty // operand, so they have to be extended. Intrinsic IntrinsicID = !cast(NAME); bits<4> ScalarOperand = NoScalarOperand;