summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2019-07-12 18:44:51 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2019-07-12 18:44:51 +0000
commit38ec89a670a2b814988fbf863f415fcc46c29d1c (patch)
tree0e63cce292b435d3e8f66fa0fae8c715248d26a4
parente26bacb652abd3dd9a44f51563ecf2c98257bb6c (diff)
downloadbcm5719-llvm-38ec89a670a2b814988fbf863f415fcc46c29d1c.tar.gz
bcm5719-llvm-38ec89a670a2b814988fbf863f415fcc46c29d1c.zip
[SystemZ] Fix build bot failure after r365932
Insert LLVM_FALLTHROUGH to avoid compiler warning. llvm-svn: 365942
-rw-r--r--llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp b/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
index b9b6e630435..57c1cf4ec70 100644
--- a/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud