diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index d1d6f4ab63874a..b6e0578dba9b44 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -867,13 +867,12 @@ class EmptyMatchContext { class VPMatchContext { SelectionDAG &DAG; - SDNode *Root; SDValue RootMaskOp; SDValue RootVectorLenOp; public: VPMatchContext(SelectionDAG &DAG, SDNode *Root) - : DAG(DAG), Root(Root), RootMaskOp(), RootVectorLenOp() { + : DAG(DAG), RootMaskOp(), RootVectorLenOp() { assert(Root->isVPOpcode()); if (auto RootMaskPos = ISD::getVPMaskIdx(Root->getOpcode())) RootMaskOp = Root->getOperand(*RootMaskPos);