[llvm] [AArch64][SVE2] Generate urshr rounding shift rights (PR #78374)
Usman Nadeem via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 9 11:04:41 PST 2024
================
@@ -20192,6 +20248,9 @@ static SDValue performIntrinsicCombine(SDNode *N,
case Intrinsic::aarch64_sve_uqsub_x:
return DAG.getNode(ISD::USUBSAT, SDLoc(N), N->getValueType(0),
N->getOperand(1), N->getOperand(2));
+ case Intrinsic::aarch64_sve_urshr:
+ return DAG.getNode(AArch64ISD::URSHR_I_PRED, SDLoc(N), N->getValueType(0),
+ N->getOperand(1), N->getOperand(2), N->getOperand(3));
----------------
UsmanNadeem wrote:
Thanks, got your point now. I will post a followup fix.
https://github.com/llvm/llvm-project/pull/78374
More information about the llvm-commits
mailing list