[PATCH] D71571: [NFC] [AArch64] Adding LLVM_FALLTHROUGH to ISelDAGToDAG.
Nate Voorhies via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 14:20:39 PST 2019
ncv created this revision.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.
ncv added a reviewer: dancgr.
Eliminates warnings found during compilation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71571
Files:
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Index: llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
===================================================================
--- llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
+++ llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
@@ -2868,9 +2868,11 @@
case MVT::i8:
ImmVal &= 0xFF;
ImmVal |= (ImmVal << 8);
+ LLVM_FALLTHROUGH;
case MVT::i16:
ImmVal &= 0xFFFF;
ImmVal |= (ImmVal << 16);
+ LLVM_FALLTHROUGH;
case MVT::i32:
ImmVal &= 0xFFFFFFFF;
ImmVal |= (ImmVal << 32);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71571.234153.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191216/a291fdbd/attachment.bin>
More information about the llvm-commits
mailing list