From eaf9485d420b77463bc1c0d1263bd50fbdc8827c Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 12 Jul 2019 18:44:51 +0000 Subject: [PATCH] [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 --- lib/Target/SystemZ/SystemZInstrInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0