mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 04:56:36 +00:00
[SimplifyCFG] Remove unused variable. NFC. (#134211)
This commit is contained in:
parent
041e84261a
commit
73e1710a4d
@ -6228,7 +6228,6 @@ static bool initializeUniqueCases(SwitchInst *SI, PHINode *&PHI,
|
||||
}
|
||||
// Find the default result value.
|
||||
SmallVector<std::pair<PHINode *, Constant *>, 1> DefaultResults;
|
||||
BasicBlock *DefaultDest = SI->getDefaultDest();
|
||||
getCaseResults(SI, nullptr, SI->getDefaultDest(), &CommonDest, DefaultResults,
|
||||
DL, TTI);
|
||||
// If the default value is not found abort unless the default destination
|
||||
|
Loading…
x
Reference in New Issue
Block a user