Skip to content

Commit 92e78b7

Browse files
committed
[RISCV] Add break; to the last switch case
As suggested by jrtc27 in the post-commit review of D60528. llvm-svn: 364746
1 parent 172fe5d commit 92e78b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,7 @@ bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
17611761
case RISCV::PseudoAddTPRel:
17621762
if (checkPseudoAddTPRel(Inst, Operands))
17631763
return true;
1764+
break;
17641765
}
17651766

17661767
emitToStreamer(Out, Inst);

0 commit comments

Comments
 (0)