[llvm-commits] [llvm] r112901 - /llvm/trunk/lib/Analysis/IVUsers.cpp
Chris Lattner
sabre at nondot.org
Thu Sep 2 16:03:10 PDT 2010
Author: lattner
Date: Thu Sep 2 18:03:10 2010
New Revision: 112901
URL: http://llvm.org/viewvc/llvm-project?rev=112901&view=rev
Log:
stop forcing a noop AssemblyAnnotationWriter to silence #uses
comments, these don't happen anymore.
Modified:
llvm/trunk/lib/Analysis/IVUsers.cpp
Modified: llvm/trunk/lib/Analysis/IVUsers.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IVUsers.cpp?rev=112901&r1=112900&r2=112901&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IVUsers.cpp (original)
+++ llvm/trunk/lib/Analysis/IVUsers.cpp Thu Sep 2 18:03:10 2010
@@ -21,7 +21,6 @@
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
-#include "llvm/Assembly/AsmAnnotationWriter.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
@@ -179,9 +178,6 @@
}
OS << ":\n";
- // Use a default AssemblyAnnotationWriter to suppress the default info
- // comments, which aren't relevant here.
- AssemblyAnnotationWriter Annotator;
for (ilist<IVStrideUse>::const_iterator UI = IVUses.begin(),
E = IVUses.end(); UI != E; ++UI) {
OS << " ";
@@ -195,7 +191,7 @@
OS << ")";
}
OS << " in ";
- UI->getUser()->print(OS, &Annotator);
+ UI->getUser()->print(OS);
OS << '\n';
}
}
More information about the llvm-commits
mailing list