Fix the way AliasSet::print prints "may alias".
authorDan Gohman <gohman@apple.com>
Mon, 21 Apr 2008 19:48:48 +0000 (19:48 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 21 Apr 2008 19:48:48 +0000 (19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50051 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/AliasSetTracker.cpp

index 50a6bb8a83468d661062baa4a001c2f5fffc74f8..01e700b768127971c08fd4a048e92b4d605f48af 100644 (file)
@@ -517,7 +517,7 @@ void AliasSetTracker::copyValue(Value *From, Value *To) {
 
 void AliasSet::print(std::ostream &OS) const {
   OS << "  AliasSet[" << (void*)this << "," << RefCount << "] ";
-  OS << (AliasTy == MustAlias ? "must" : "may ") << " alias, ";
+  OS << (AliasTy == MustAlias ? "must" : "may") << " alias, ";
   switch (AccessTy) {
   case NoModRef: OS << "No access "; break;
   case Refs    : OS << "Ref       "; break;