[llvm-commits] [llvm] r84174 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Nick Lewycky
nicholas at mxc.ca
Thu Oct 15 20:29:50 PDT 2009
Duncan Sands wrote:
> Hi Nick,
>
>> + case Intrinsic::lifetime_start:
>> + case Intrinsic::lifetime_end:
>> + case Intrinsic::invariant_start: {
>> + unsigned PtrSize =
>> cast<ConstantInt>(II->getOperand(1))->getZExtValue();
>> + if (alias(II->getOperand(2), PtrSize, P, Size) == NoAlias)
>> + return NoModRef;
>> + }
>
> did you mean to fall through here?
Nope! Good catch!
Nick
>
>> + case Intrinsic::invariant_end: {
>> + unsigned PtrSize =
>> cast<ConstantInt>(II->getOperand(2))->getZExtValue();
>> + if (alias(II->getOperand(3), PtrSize, P, Size) == NoAlias)
>> + return NoModRef;
>> + }
>
> Ciao,
>
> Duncan.
>
More information about the llvm-commits
mailing list