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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2009-10-15 18:48:58 +00:00
parent 7b68ffcd2f
commit 20312d0bb8

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;
}
}
}