[llvm] r308613 - [globalisel][tablegen] Fix an unintended fallthrough that is currently unreachable. NFC

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 06:10:17 PDT 2017


Author: dsanders
Date: Thu Jul 20 06:10:17 2017
New Revision: 308613

URL: http://llvm.org/viewvc/llvm-project?rev=308613&view=rev
Log:
[globalisel][tablegen] Fix an unintended fallthrough that is currently unreachable. NFC


Modified:
    llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h

Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h?rev=308613&r1=308612&r2=308613&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h Thu Jul 20 06:10:17 2017
@@ -243,6 +243,7 @@ bool InstructionSelector::executeMatchTa
       DEBUG(dbgs() << CurrentIdx << ": GIM_Reject");
       if (handleReject() == RejectAndGiveUp)
         return false;
+      break;
 
     case GIR_MutateOpcode: {
       int64_t OldInsnID = MatchTable[CurrentIdx++];




More information about the llvm-commits mailing list