diff options
| author | Tobias Grosser <tobias@grosser.es> | 2014-01-09 10:42:15 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2014-01-09 10:42:15 +0000 |
| commit | f240b487a30c571cb6202e73b88942d03a5ab843 (patch) | |
| tree | d1f6e57123c57d1f13d2be62193467194560c791 /polly/lib/IndependentBlocks.cpp | |
| parent | bc60254543dc83245c4d5fb76d900cd1fecbf65a (diff) | |
| download | bcm5719-llvm-f240b487a30c571cb6202e73b88942d03a5ab843.tar.gz bcm5719-llvm-f240b487a30c571cb6202e73b88942d03a5ab843.zip | |
Remove IR/Writer.h
This should fix the buildbots.
llvm-svn: 198859
Diffstat (limited to 'polly/lib/IndependentBlocks.cpp')
| -rw-r--r-- | polly/lib/IndependentBlocks.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/polly/lib/IndependentBlocks.cpp b/polly/lib/IndependentBlocks.cpp index fde88f3d479..e7c520027ea 100644 --- a/polly/lib/IndependentBlocks.cpp +++ b/polly/lib/IndependentBlocks.cpp @@ -20,7 +20,6 @@ #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/Analysis/ValueTracking.h" -#include "llvm/IR/Writer.h" #include "llvm/Transforms/Utils/Local.h" #include "llvm/Support/CommandLine.h" #define DEBUG_TYPE "polly-independent" @@ -481,13 +480,13 @@ bool IndependentBlocks::isIndependentBlock(const Region *R, OI != OE; ++OI) { if (isEscapeOperand(*OI, BB, R)) { DEBUG(dbgs() << "Instruction in function '"; - WriteAsOperand(dbgs(), BB->getParent(), false); + BB->getParent()->printAsOperand(dbgs(), false); dbgs() << "' not independent:\n"); DEBUG(dbgs() << "Uses invalid operator\n"); DEBUG(Inst->print(dbgs())); DEBUG(dbgs() << "\n"); DEBUG(dbgs() << "Invalid operator is: "; - WriteAsOperand(dbgs(), *OI, false); dbgs() << "\n"); + (*OI)->printAsOperand(dbgs(), false); dbgs() << "\n"); return false; } } |

