From 8bf547855aa83c9659eb8e3844f0886a8aad85b4 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 26 Oct 2007 03:47:14 +0000 Subject: [PATCH] Make a comment better. llvm-svn: 43379 --- lib/Analysis/BasicAliasAnalysis.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index d986adec01f..89b5d5c3cb9 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(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; }