From: Philip Reames Date: Sat, 27 Feb 2016 05:18:30 +0000 (+0000) Subject: Suppress an uncovered switch warning [NFC] X-Git-Tag: llvmorg-3.9.0-rc1~13038 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70b391864d75845e0537ad16a4b6a581aafcf592;p=platform%2Fupstream%2Fllvm.git Suppress an uncovered switch warning [NFC] llvm-svn: 262109 --- diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp index e5d5941..b2ce163 100644 --- a/llvm/lib/Analysis/LazyValueInfo.cpp +++ b/llvm/lib/Analysis/LazyValueInfo.cpp @@ -977,6 +977,7 @@ bool LazyValueInfoCache::solveBlockValueSelect(LVILatticeVal &BBLV, // that input doesn't include C + C2. ConstantInt *CIAdded; switch (Pred) { + default: break; case ICmpInst::ICMP_EQ: if (match(SI->getFalseValue(), m_Add(m_Specific(A), m_ConstantInt(CIAdded)))) {