[llvm] [RISCV] Add more intrinsics into canSplatOperand. (PR #83106)
Yeting Kuo via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 01:00:17 PST 2024
================
@@ -2009,6 +2009,22 @@ bool RISCVTargetLowering::canSplatOperand(Instruction *I, int Operand) const {
case Intrinsic::vp_fmul:
case Intrinsic::vp_icmp:
case Intrinsic::vp_fcmp:
+ case Intrinsic::smin:
+ case Intrinsic::vp_smin:
+ case Intrinsic::umin:
+ case Intrinsic::vp_umin:
+ case Intrinsic::smax:
+ case Intrinsic::vp_smax:
+ case Intrinsic::umax:
+ case Intrinsic::vp_umax:
+ case Intrinsic::sadd_sat:
+ case Intrinsic::vp_sadd_sat:
+ case Intrinsic::uadd_sat:
+ case Intrinsic::vp_uadd_sat:
+ case Intrinsic::ssub_sat:
----------------
yetingk wrote:
Done.
https://github.com/llvm/llvm-project/pull/83106
More information about the llvm-commits
mailing list