[llvm-commits] [llvm] r43379 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Owen Anderson
resistor at mac.com
Thu Oct 25 20:47:14 PDT 2007
Author: resistor
Date: Thu Oct 25 22:47:14 2007
New Revision: 43379
URL: http://llvm.org/viewvc/llvm-project?rev=43379&view=rev
Log:
Make a comment better.
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=43379&r1=43378&r2=43379&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Thu Oct 25 22:47:14 2007
@@ -338,9 +338,11 @@
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;
}
More information about the llvm-commits
mailing list