[llvm-commits] [polly] r168623 - /polly/trunk/include/polly/CodeGen/CodeGeneration.h

Sebastian Pop spop at codeaurora.org
Mon Nov 26 14:16:17 PST 2012


Author: spop
Date: Mon Nov 26 16:16:17 2012
New Revision: 168623

URL: http://llvm.org/viewvc/llvm-project?rev=168623&view=rev
Log:
remove dependence on CLOOG_FOUND for PollyVectorizerChoice

When polly was configured with cmake without cloog, compilation stopped with:

../tools/polly/lib/CodeGen/BlockGenerators.cpp:662: error: 'PollyVectorizerChoice' was not declared in this scope
../tools/polly/lib/CodeGen/BlockGenerators.cpp:662: error: 'VECTORIZER_FIRST_NEED_GROUPED_UNROLL' was not declared in this scope

Modified:
    polly/trunk/include/polly/CodeGen/CodeGeneration.h

Modified: polly/trunk/include/polly/CodeGen/CodeGeneration.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/CodeGeneration.h?rev=168623&r1=168622&r2=168623&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/CodeGeneration.h (original)
+++ polly/trunk/include/polly/CodeGen/CodeGeneration.h Mon Nov 26 16:16:17 2012
@@ -13,7 +13,6 @@
 #define POLLY_CODEGENERATION_H
 
 #include "polly/Config/config.h"
-#ifdef CLOOG_FOUND
 
 namespace polly {
   enum VectorizerChoice {
@@ -26,6 +25,5 @@
   extern VectorizerChoice PollyVectorizerChoice;
 }
 
-#endif // CLOOG_FOUND
 #endif // POLLY_CODEGENERATION_H
 





More information about the llvm-commits mailing list