Skip to content

Commit 4aa71f0

Browse files
committed
[TableGen] Fix an unused variable warning. NFC
1 parent f925040 commit 4aa71f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/DAGISelMatcherOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr,
227227
}
228228

229229
// Turn MoveSibling->MoveParent into MoveParent.
230-
if (auto *MP = dyn_cast<MoveParentMatcher>(MS->getNext())) {
230+
if (isa<MoveParentMatcher>(MS->getNext())) {
231231
MatcherPtr.reset(MS->takeNext());
232232
return ContractNodes(MatcherPtr, CGP);
233233
}

0 commit comments

Comments
 (0)