Suppress an uncovered switch warning [NFC]
authorPhilip Reames <listmail@philipreames.com>
Sat, 27 Feb 2016 05:18:30 +0000 (05:18 +0000)
committerPhilip Reames <listmail@philipreames.com>
Sat, 27 Feb 2016 05:18:30 +0000 (05:18 +0000)
llvm-svn: 262109

llvm/lib/Analysis/LazyValueInfo.cpp

index e5d5941..b2ce163 100644 (file)
@@ -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)))) {