aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-10-26 03:47:14 +0000
committerOwen Anderson <resistor@mac.com>2007-10-26 03:47:14 +0000
commitef1502925851c813a57bb2257be3026e9de1fdd1 (patch)
tree7ecfe88b95013baeb934b7339758c57f91e626db /lib
parent55cbec317d9c30c8ae1d35eaa008ca63d1f2fce9 (diff)
downloadexternal_llvm-ef1502925851c813a57bb2257be3026e9de1fdd1.zip
external_llvm-ef1502925851c813a57bb2257be3026e9de1fdd1.tar.gz
external_llvm-ef1502925851c813a57bb2257be3026e9de1fdd1.tar.bz2
Make a comment better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp
index d986ade..89b5d5c 100644
--- 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;
}