Skip to content

Commit a13645c

Browse files
committed
DAGCombiner: fix -Wunused-private-field. NFC
1 parent cde2f33 commit a13645c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,13 +867,12 @@ class EmptyMatchContext {
867867

868868
class VPMatchContext {
869869
SelectionDAG &DAG;
870-
SDNode *Root;
871870
SDValue RootMaskOp;
872871
SDValue RootVectorLenOp;
873872

874873
public:
875874
VPMatchContext(SelectionDAG &DAG, SDNode *Root)
876-
: DAG(DAG), Root(Root), RootMaskOp(), RootVectorLenOp() {
875+
: DAG(DAG), RootMaskOp(), RootVectorLenOp() {
877876
assert(Root->isVPOpcode());
878877
if (auto RootMaskPos = ISD::getVPMaskIdx(Root->getOpcode()))
879878
RootMaskOp = Root->getOperand(*RootMaskPos);

0 commit comments

Comments
 (0)