mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-05 11:46:42 +00:00
Add missing break statements! Thanks to Duncan Sands for pointing this out!
llvm-svn: 84191
This commit is contained in:
parent
528ceba13f
commit
7ec7f1ce0f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user