[llvm] r364746 - [RISCV] Add break; to the last switch case
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 04:41:07 PDT 2019
Author: maskray
Date: Mon Jul 1 04:41:07 2019
New Revision: 364746
URL: http://llvm.org/viewvc/llvm-project?rev=364746&view=rev
Log:
[RISCV] Add break; to the last switch case
As suggested by jrtc27 in the post-commit review of D60528.
Modified:
llvm/trunk/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Modified: llvm/trunk/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp?rev=364746&r1=364745&r2=364746&view=diff
==============================================================================
--- llvm/trunk/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp Mon Jul 1 04:41:07 2019
@@ -1761,6 +1761,7 @@ bool RISCVAsmParser::processInstruction(
case RISCV::PseudoAddTPRel:
if (checkPseudoAddTPRel(Inst, Operands))
return true;
+ break;
}
emitToStreamer(Out, Inst);
More information about the llvm-commits
mailing list