projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172fe5d
)
[RISCV] Add break; to the last switch case
author
Fangrui Song
<maskray@google.com>
Mon, 1 Jul 2019 11:41:07 +0000
(11:41 +0000)
committer
Fangrui 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
index
b4d206d
..
4367eeb
100644
(file)
--- a/
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+++ b/
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
@@
-1761,6
+1761,7
@@
bool RISCVAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
case RISCV::PseudoAddTPRel:
if (checkPseudoAddTPRel(Inst, Operands))
return true;
+ break;
}
emitToStreamer(Out, Inst);