summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2018-02-09 22:59:01 +0000
committerDan Gohman <dan433584@gmail.com>2018-02-09 22:59:01 +0000
commit861bec2b7c69d885586725b9b0166913dbae6826 (patch)
treeb73715c9aafcf7ee4072f9a8ad78d83d3d26bce1 /llvm/lib/Target/WebAssembly
parent2930d7662e9c7a90976d41be9086298c5305d7a6 (diff)
downloadbcm5719-llvm-861bec2b7c69d885586725b9b0166913dbae6826.tar.gz
bcm5719-llvm-861bec2b7c69d885586725b9b0166913dbae6826.zip
[WebAssembly] Add an LLVM_FALLTHROUGH to address a warning. NFC.
llvm-svn: 324777
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
index 7e284ea950f..59bf1ad2d89 100644
--- 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;
OpenPOWER on IntegriCloud