aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-08-08 11:24:15 -0700
committerFangrui Song <i@maskray.me>2022-08-08 11:24:15 -0700
commitde9d80c1c579e39cc658a508f1d4ba1cd792e4d5 (patch)
tree169da231cb69f41d33d52469716f5bc337f17465 /llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
parent09db7f533174cdda4655d0114cd88bd22d336e31 (diff)
downloadllvm-de9d80c1c579e39cc658a508f1d4ba1cd792e4d5.zip
llvm-de9d80c1c579e39cc658a508f1d4ba1cd792e4d5.tar.gz
llvm-de9d80c1c579e39cc658a508f1d4ba1cd792e4d5.tar.bz2
[llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC
With C++17 there is no Clang pedantic warning or MSVC C5051.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
index 8ddd414..c21eee8 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
@@ -1260,7 +1260,7 @@ bool WebAssemblyFastISel::selectStore(const Instruction *I) {
switch (getSimpleType(Store->getValueOperand()->getType())) {
case MVT::i1:
VTIsi1 = true;
- LLVM_FALLTHROUGH;
+ [[fallthrough]];
case MVT::i8:
Opc = A64 ? WebAssembly::STORE8_I32_A64 : WebAssembly::STORE8_I32_A32;
break;