summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodeGeneration.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-05-07 16:35:11 +0000
committerSebastian Pop <spop@codeaurora.org>2012-05-07 16:35:11 +0000
commite1f6554ed84f30880d69e7e811833f92337e949b (patch)
tree82f4f6746eb9580d6e308ab06a37899f8667cf7a /polly/lib/CodeGen/CodeGeneration.cpp
parent082cea86165e30bfc71e02ea8eefb52444743a05 (diff)
downloadbcm5719-llvm-e1f6554ed84f30880d69e7e811833f92337e949b.tar.gz
bcm5719-llvm-e1f6554ed84f30880d69e7e811833f92337e949b.zip
add some more missing ifdef CLOOG_FOUND
llvm-svn: 156306
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 72a6c828ad6..9d39ec2ff0a 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -20,9 +20,10 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "polly-codegen"
-
#include "polly/Cloog.h"
+#ifdef CLOOG_FOUND
+
+#define DEBUG_TYPE "polly-codegen"
#include "polly/Dependences.h"
#include "polly/LinkAllPasses.h"
#include "polly/ScopInfo.h"
@@ -937,3 +938,5 @@ INITIALIZE_PASS_END(CodeGeneration, "polly-codegen",
Pass *polly::createCodeGenerationPass() {
return new CodeGeneration();
}
+
+#endif // CLOOG_FOUND
OpenPOWER on IntegriCloud