OSDN Git Service

[SystemZ] Fix build bot failure after r365932
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 12 Jul 2019 18:44:51 +0000 (18:44 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 12 Jul 2019 18:44:51 +0000 (18:44 +0000)
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

index b9b6e63..57c1cf4 100644 (file)
@@ -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;