summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-05-31 22:16:24 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-05-31 22:16:24 +0000
commit244621faade77dd876051d80691ae503218246d3 (patch)
treeee8494b67f535fbd82abd0e78aafd021b573a6d4 /llvm/lib
parent1ec026252b3027f06c8a561d93fc0a3801107bba (diff)
downloadbcm5719-llvm-244621faade77dd876051d80691ae503218246d3.tar.gz
bcm5719-llvm-244621faade77dd876051d80691ae503218246d3.zip
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304361
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 4bf889c5a54..a5dceb6c227 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -2339,6 +2339,7 @@ bool llvm::ComputeMultiple(Value *V, unsigned Base, Value *&Multiple,
case Instruction::SExt:
if (!LookThroughSExt) return false;
// otherwise fall through to ZExt
+ LLVM_FALLTHROUGH;
case Instruction::ZExt:
return ComputeMultiple(I->getOperand(0), Base, Multiple,
LookThroughSExt, Depth+1);
OpenPOWER on IntegriCloud