Skip to content

Commit 71cff9f

Browse files
toppercgithub-actions[bot]
authored andcommitted
Automerge: [TableGen] Fix an unused variable warning. NFC
2 parents 2760a06 + 4aa71f0 commit 71cff9f

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)