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

llvm-svn: 304636
This commit is contained in:
Galina Kistanova
2017-06-03 05:18:46 +00:00
parent bd79f73f02
commit 96d51f5bcb
2 changed files with 3 additions and 0 deletions

View File

@@ -259,6 +259,7 @@ static bool InTreeUserNeedToExtract(Value *Scalar, Instruction *UserInst,
if (hasVectorInstrinsicScalarOpd(ID, 1)) {
return (CI->getArgOperand(1) == Scalar);
}
LLVM_FALLTHROUGH;
}
default:
return false;