Add missing break statements! Thanks to Duncan Sands for pointing this out!

llvm-svn: 84191
This commit is contained in:
Nick Lewycky 2009-10-15 18:48:58 +00:00
parent 79843050d5
commit d708a4908c
1 changed files with 2 additions and 0 deletions

View File

@ -358,11 +358,13 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) {
if (alias(II->getOperand(2), PtrSize, P, Size) == NoAlias)
return NoModRef;
}
break;
case Intrinsic::invariant_end: {
unsigned PtrSize = cast<ConstantInt>(II->getOperand(2))->getZExtValue();
if (alias(II->getOperand(3), PtrSize, P, Size) == NoAlias)
return NoModRef;
}
break;
}
}
}