[NFC] DCE: TermInsts increment NumDeletedInsts.

This commit is contained in:
Nate Chandler
2024-12-19 14:20:03 -08:00
parent 1851e712f8
commit 00116edcfb

View File

@@ -763,6 +763,7 @@ bool DCE::removeDead() {
<< "with jump to: BB" << postDom->getDebugID() << "\n");
replaceBranchWithJump(termInst, postDom);
++NumDeletedInsts;
termInst->eraseFromParent();
BranchesChanged = true;
Changed = true;