[llvm] [RISCV][P-ext] Add packed sign and zero extend intrinsics (PR #208685)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 06:40:22 PDT 2026


================
@@ -17771,6 +17839,29 @@ static SDValue combineNarrowableShiftedLoad(SDNode *N, SelectionDAG &DAG) {
                      DAG.getShiftAmountConstant(ShiftAmt, VT, DL));
 }
 
+static SDValue combinePZExt(SDNode *N, SelectionDAG &DAG,
----------------
sihuan wrote:

Done in the last commit. `isVectorClearMaskLegal` enables `XformToShuffleWithZero`, and `lowerVECTOR_SHUFFLE` forms `PPAIRE` from the shuffle.

https://github.com/llvm/llvm-project/pull/208685


More information about the llvm-commits mailing list