Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.

llvm-svn: 304638
This commit is contained in:
Galina Kistanova 2017-06-03 05:19:32 +00:00
parent 55344aba7e
commit e9cacb6ae8
1 changed files with 1 additions and 0 deletions

View File

@ -2087,6 +2087,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
switch (I.getNumArgOperands()) {
case 3:
assert(isa<ConstantInt>(I.getArgOperand(2)) && "Invalid rounding mode");
LLVM_FALLTHROUGH;
case 2:
CopyOp = I.getArgOperand(0);
ConvertOp = I.getArgOperand(1);