summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/Cloog.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-01-09 10:42:15 +0000
committerTobias Grosser <tobias@grosser.es>2014-01-09 10:42:15 +0000
commitf240b487a30c571cb6202e73b88942d03a5ab843 (patch)
treed1f6e57123c57d1f13d2be62193467194560c791 /polly/lib/CodeGen/Cloog.cpp
parentbc60254543dc83245c4d5fb76d900cd1fecbf65a (diff)
downloadbcm5719-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/CodeGen/Cloog.cpp')
-rw-r--r--polly/lib/CodeGen/Cloog.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/Cloog.cpp b/polly/lib/CodeGen/Cloog.cpp
index 607dcbefe49..ebf82b614e6 100644
--- a/polly/lib/CodeGen/Cloog.cpp
+++ b/polly/lib/CodeGen/Cloog.cpp
@@ -28,7 +28,6 @@
#include "polly/ScopInfo.h"
#define DEBUG_TYPE "polly-cloog"
-#include "llvm/IR/Writer.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
@@ -258,11 +257,11 @@ std::string CloogExporter::getFileName(Region *R) const {
raw_string_ostream ExitStr(ExitName);
raw_string_ostream EntryStr(EntryName);
- WriteAsOperand(EntryStr, R->getEntry(), false);
+ R->getEntry()->printAsOperand(EntryStr, false);
EntryStr.str();
if (R->getExit()) {
- WriteAsOperand(ExitStr, R->getExit(), false);
+ R->getExit()->printAsOperand(ExitStr, false);
ExitStr.str();
} else
ExitName = "FunctionExit";
OpenPOWER on IntegriCloud