Skip to content

Commit 79de83f

Browse files
kazutakahiratatomtor
authored andcommitted
[AArch64] Fix a warning
This patch fixes: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:7157:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
1 parent 6335a8d commit 79de83f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7154,6 +7154,7 @@ SDValue AArch64TargetLowering::LowerINIT_TRAMPOLINE(SDValue Op,
71547154
switch (CC) {
71557155
default:
71567156
NestReg = 0x0f; // X15
7157+
LLVM_FALLTHROUGH;
71577158
case CallingConv::ARM64EC_Thunk_Native:
71587159
case CallingConv::ARM64EC_Thunk_X64:
71597160
// Must be kept in sync with AArch64CallingConv.td

0 commit comments

Comments
 (0)