[llvm] [SelectionDAG] Support integer promotion for VP_STORE (PR #81299)
Lei Huang via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 06:32:12 PST 2024
================
@@ -2216,6 +2242,50 @@ SDValue DAGTypeLegalizer::PromoteIntOp_STORE(StoreSDNode *N, unsigned OpNo){
N->getMemoryVT(), N->getMemOperand());
}
+SDValue DAGTypeLegalizer::PromoteIntOp_VP_STORE(VPStoreSDNode *N,
+ unsigned OpNo) {
+ SDValue DataOp = N->getValue();
+ SDValue Operand = N->getOperand(OpNo);
+
+ if (OpNo >= 4) {
+ // The Mask or EVL. Update in place.
----------------
lei137 wrote:
Sorry. I thought you meant this function was also not needed.
https://github.com/llvm/llvm-project/pull/81299
More information about the llvm-commits
mailing list