OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb71c25
)
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
author
Galina Kistanova
<gkistanova@gmail.com>
Wed, 31 May 2017 22:16:24 +0000
(22:16 +0000)
committer
Galina Kistanova
<gkistanova@gmail.com>
Wed, 31 May 2017 22:16:24 +0000
(22:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304361
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ValueTracking.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ValueTracking.cpp
b/lib/Analysis/ValueTracking.cpp
index
4bf889c
..
a5dceb6
100644
(file)
--- a/
lib/Analysis/ValueTracking.cpp
+++ b/
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);