projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55cbec3
)
Make a comment better.
author
Owen Anderson
<resistor@mac.com>
Fri, 26 Oct 2007 03:47:14 +0000
(
03:47
+0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 26 Oct 2007 03:47:14 +0000
(
03:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43379
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/BasicAliasAnalysis.cpp
b/lib/Analysis/BasicAliasAnalysis.cpp
index d986adec01f78cb9f4aeb38bab4e159fb435bede..89b5d5c3cb9000fe6333ccdc26a2d99ea808341d 100644
(file)
--- a/
lib/Analysis/BasicAliasAnalysis.cpp
+++ b/
lib/Analysis/BasicAliasAnalysis.cpp
@@
-338,9
+338,11
@@
BasicAliasAnalysis::alias(const Value *V1, unsigned V1Size,
return NoAlias;
// Otherwise, nothing is known...
+
} else if (O1 != O2) {
if (!isa<Argument>(O1))
- // If they are two different objects, we know that we have no alias...
+ // If they are two different objects, and neither is an argument,
+ // we know that we have no alias...
return NoAlias;
}