================ @@ -59,16 +59,26 @@ let TargetPrefix = "riscv" in { [IntrNoMem, IntrWillReturn, IntrSpeculatable, ImmArg<ArgIndex<1>>, ImmArg<ArgIndex<2>>]>; + def int_riscv_cv_alu_slet : ScalarCoreVAluGprGprIntrinsic; + def int_riscv_cv_alu_sletu : ScalarCoreVAluGprGprIntrinsic; + def int_riscv_cv_alu_min : ScalarCoreVAluGprGprIntrinsic; ---------------- topperc wrote:
I don't think we need builtins for max/min. You can express those directly in C and InstCombine will make llvm.min/max intrinsics. https://github.com/llvm/llvm-project/pull/100684 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits