1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix MSVC "switch statement contains 'default' but no 'case' labels" warning. NFCI.

This commit is contained in:
Simon Pilgrim 2019-10-24 13:39:56 -07:00
parent 64ac19978b
commit 383f80717b

View File

@ -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(