[llvm] r262109 - Suppress an uncovered switch warning [NFC]
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 26 21:18:30 PST 2016
Author: reames
Date: Fri Feb 26 23:18:30 2016
New Revision: 262109
URL: http://llvm.org/viewvc/llvm-project?rev=262109&view=rev
Log:
Suppress an uncovered switch warning [NFC]
Modified:
llvm/trunk/lib/Analysis/LazyValueInfo.cpp
Modified: llvm/trunk/lib/Analysis/LazyValueInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LazyValueInfo.cpp?rev=262109&r1=262108&r2=262109&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LazyValueInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LazyValueInfo.cpp Fri Feb 26 23:18:30 2016
@@ -977,6 +977,7 @@ bool LazyValueInfoCache::solveBlockValue
// 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)))) {
More information about the llvm-commits
mailing list