[llvm] [RISCV] Fold vector shift of sext/zext to widening multiply (PR #121563)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 29 11:57:53 PST 2025
================
@@ -17341,6 +17341,85 @@ static SDValue combineScalarCTPOPToVCPOP(SDNode *N, SelectionDAG &DAG,
return DAG.getZExtOrTrunc(Pop, DL, VT);
}
+static SDValue combineSHL(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
----------------
preames wrote:
The naming convention in this file would have this routine named performSHLCombine
https://github.com/llvm/llvm-project/pull/121563
More information about the llvm-commits
mailing list