forked from OSchip/llvm-project
Fix MSVC "switch statement contains 'default' but no 'case' labels" warning. NFCI.
This commit is contained in:
parent
126a72fcbf
commit
c39ba0429c
|
@ -1154,13 +1154,10 @@ bool LazyValueInfoImpl::solveBlockValueIntrinsic(ValueLatticeElement &BBLV,
|
|||
if (auto *SI = dyn_cast<SaturatingInst>(II))
|
||||
return solveBlockValueSaturatingIntrinsic(BBLV, SI, BB);
|
||||
|
||||
switch (II->getIntrinsicID()) {
|
||||
default:
|
||||
LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
|
||||
<< "' - overdefined (unknown intrinsic).\n");
|
||||
BBLV = ValueLatticeElement::getOverdefined();
|
||||
return true;
|
||||
}
|
||||
LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
|
||||
<< "' - overdefined (unknown intrinsic).\n");
|
||||
BBLV = ValueLatticeElement::getOverdefined();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool LazyValueInfoImpl::solveBlockValueExtractValue(
|
||||
|
|
Loading…
Reference in New Issue