projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2930d76
)
[WebAssembly] Add an LLVM_FALLTHROUGH to address a warning. NFC.
author
Dan Gohman
<dan433584@gmail.com>
Fri, 9 Feb 2018 22:59:01 +0000
(22:59 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Fri, 9 Feb 2018 22:59:01 +0000
(22:59 +0000)
llvm-svn: 324777
llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
b/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
index
7e284ea
..
59bf1ad
100644
(file)
--- a/
llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+++ b/
llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
@@
-1165,6
+1165,7
@@
bool WebAssemblyFastISel::selectStore(const Instruction *I) {
switch (getSimpleType(Store->getValueOperand()->getType())) {
case MVT::i1:
VTIsi1 = true;
+ LLVM_FALLTHROUGH;
case MVT::i8:
Opc = WebAssembly::STORE8_I32;
break;