Skip to content

Commit 73e1710

Browse files
authored
[SimplifyCFG] Remove unused variable. NFC. (llvm#134211)
1 parent 041e842 commit 73e1710

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6228,7 +6228,6 @@ static bool initializeUniqueCases(SwitchInst *SI, PHINode *&PHI,
62286228
}
62296229
// Find the default result value.
62306230
SmallVector<std::pair<PHINode *, Constant *>, 1> DefaultResults;
6231-
BasicBlock *DefaultDest = SI->getDefaultDest();
62326231
getCaseResults(SI, nullptr, SI->getDefaultDest(), &CommonDest, DefaultResults,
62336232
DL, TTI);
62346233
// If the default value is not found abort unless the default destination

0 commit comments

Comments
 (0)