summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-02-27 05:18:30 +0000
committerPhilip Reames <listmail@philipreames.com>2016-02-27 05:18:30 +0000
commit70b391864d75845e0537ad16a4b6a581aafcf592 (patch)
tree465bf9ffd7f14e8ee3bacf5ce37f97bcc37b41a3 /llvm/lib
parentad8cb382fa6d0bcc0359d99a3ddec381c218ba89 (diff)
downloadbcm5719-llvm-70b391864d75845e0537ad16a4b6a581aafcf592.tar.gz
bcm5719-llvm-70b391864d75845e0537ad16a4b6a581aafcf592.zip
Suppress an uncovered switch warning [NFC]
llvm-svn: 262109
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/LazyValueInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp
index e5d5941995b..b2ce163fca3 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)))) {
OpenPOWER on IntegriCloud