[llvm] [LegalizeTypes] Use VP_AND and VP_SHL/VP_SRA to promote operands fo VP arithmetic. (PR #92799)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 08:19:16 PDT 2024


================
@@ -1540,6 +1540,25 @@ SDValue SelectionDAG::getZeroExtendInReg(SDValue Op, const SDLoc &DL, EVT VT) {
   return getNode(ISD::AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT));
 }
 
+SDValue SelectionDAG::getVPZeroExtendInReg(SDValue Op, SDValue Mask,
----------------
preames wrote:

Can you land the first commit in the stack (the NFC), and then rebase?

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


More information about the llvm-commits mailing list