From: Ulrich Weigand Date: Fri, 12 Jul 2019 18:44:51 +0000 (+0000) Subject: [SystemZ] Fix build bot failure after r365932 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaf9485d420b77463bc1c0d1263bd50fbdc8827c;p=llvm [SystemZ] Fix build bot failure after r365932 Insert LLVM_FALLTHROUGH to avoid compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365942 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SystemZ/SystemZInstrInfo.cpp b/lib/Target/SystemZ/SystemZInstrInfo.cpp index b9b6e630435..57c1cf4ec70 100644 --- a/lib/Target/SystemZ/SystemZInstrInfo.cpp +++ b/lib/Target/SystemZ/SystemZInstrInfo.cpp @@ -715,7 +715,7 @@ bool SystemZInstrInfo::FoldImmediate(MachineInstr &UseMI, MachineInstr &DefMI, switch (UseOpc) { case SystemZ::SELRMux: TieOps = true; - /* fall through */ + LLVM_FALLTHROUGH; case SystemZ::LOCRMux: if (!STI.hasLoadStoreOnCond2()) return false; @@ -729,7 +729,7 @@ bool SystemZInstrInfo::FoldImmediate(MachineInstr &UseMI, MachineInstr &DefMI, break; case SystemZ::SELGR: TieOps = true; - /* fall through */ + LLVM_FALLTHROUGH; case SystemZ::LOCGR: if (!STI.hasLoadStoreOnCond2()) return false;