1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

llvm-svn: 304361
This commit is contained in:
Galina Kistanova 2017-05-31 22:16:24 +00:00
parent 762aef22a0
commit 1b1ec114f0

View File

@ -2339,6 +2339,7 @@ bool llvm::ComputeMultiple(Value *V, unsigned Base, Value *&Multiple,
case Instruction::SExt:
if (!LookThroughSExt) return false;
// otherwise fall through to ZExt
LLVM_FALLTHROUGH;
case Instruction::ZExt:
return ComputeMultiple(I->getOperand(0), Base, Multiple,
LookThroughSExt, Depth+1);