diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-02 23:03:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-02 23:03:10 +0000 |
commit | 19199cce55f678c82fbab8ca715e0e80dba75e04 (patch) | |
tree | ae907cdb00595227587ea520c391df64f6359948 /llvm/lib/Analysis/IVUsers.cpp | |
parent | 854ad26ae20c58a6e7c7829aa875d17798b4195f (diff) | |
download | bcm5719-llvm-19199cce55f678c82fbab8ca715e0e80dba75e04.tar.gz bcm5719-llvm-19199cce55f678c82fbab8ca715e0e80dba75e04.zip |
stop forcing a noop AssemblyAnnotationWriter to silence #uses
comments, these don't happen anymore.
llvm-svn: 112901
Diffstat (limited to 'llvm/lib/Analysis/IVUsers.cpp')
-rw-r--r-- | llvm/lib/Analysis/IVUsers.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/IVUsers.cpp b/llvm/lib/Analysis/IVUsers.cpp index fd514336be8..cdf667ad6ee 100644 --- a/llvm/lib/Analysis/IVUsers.cpp +++ b/llvm/lib/Analysis/IVUsers.cpp @@ -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 @@ void IVUsers::print(raw_ostream &OS, const Module *M) const { } 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 @@ void IVUsers::print(raw_ostream &OS, const Module *M) const { OS << ")"; } OS << " in "; - UI->getUser()->print(OS, &Annotator); + UI->getUser()->print(OS); OS << '\n'; } } |