mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-12 23:40:43 +00:00
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110455 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58e1248dd2
commit
9b8639c9bd
@ -210,8 +210,8 @@ AliasAnalysis::getModRefInfo(const LoadInst *L, const Value *P, unsigned Size) {
|
|||||||
|
|
||||||
AliasAnalysis::ModRefResult
|
AliasAnalysis::ModRefResult
|
||||||
AliasAnalysis::getModRefInfo(const StoreInst *S, const Value *P, unsigned Size) {
|
AliasAnalysis::getModRefInfo(const StoreInst *S, const Value *P, unsigned Size) {
|
||||||
// If the stored address cannot alias the pointer in question, then the
|
// If the store address cannot alias the pointer in question, then the
|
||||||
// pointer cannot be modified by the store.
|
// specified memory cannot be modified by the store.
|
||||||
if (!alias(S->getOperand(1),
|
if (!alias(S->getOperand(1),
|
||||||
getTypeStoreSize(S->getOperand(0)->getType()), P, Size))
|
getTypeStoreSize(S->getOperand(0)->getType()), P, Size))
|
||||||
return NoModRef;
|
return NoModRef;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user