From a13645cf8c9ac403d4fa8da29a74392a4777b245 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 7 Feb 2023 22:33:56 -0800 Subject: [PATCH] DAGCombiner: fix -Wunused-private-field. NFC --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index d1d6f4a..b6e0578 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -867,13 +867,12 @@ public: 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); -- 2.7.4