[RISCV] Add break; to the last switch case
authorFangrui Song <maskray@google.com>
Mon, 1 Jul 2019 11:41:07 +0000 (11:41 +0000)
committerFangrui Song <maskray@google.com>
Mon, 1 Jul 2019 11:41:07 +0000 (11:41 +0000)
As suggested by jrtc27 in the post-commit review of D60528.

llvm-svn: 364746

llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

index b4d206d..4367eeb 100644 (file)
@@ -1761,6 +1761,7 @@ bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
   case RISCV::PseudoAddTPRel:
     if (checkPseudoAddTPRel(Inst, Operands))
       return true;
+    break;
   }
 
   emitToStreamer(Out, Inst);