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))
|
if (auto *SI = dyn_cast<SaturatingInst>(II))
|
||||||
return solveBlockValueSaturatingIntrinsic(BBLV, SI, BB);
|
return solveBlockValueSaturatingIntrinsic(BBLV, SI, BB);
|
||||||
|
|
||||||
switch (II->getIntrinsicID()) {
|
LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
|
||||||
default:
|
<< "' - overdefined (unknown intrinsic).\n");
|
||||||
LLVM_DEBUG(dbgs() << " compute BB '" << BB->getName()
|
BBLV = ValueLatticeElement::getOverdefined();
|
||||||
<< "' - overdefined (unknown intrinsic).\n");
|
return true;
|
||||||
BBLV = ValueLatticeElement::getOverdefined();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LazyValueInfoImpl::solveBlockValueExtractValue(
|
bool LazyValueInfoImpl::solveBlockValueExtractValue(
|
||||||
|
|
Loading…
Reference in New Issue