[llvm-commits] [polly] r170736 - /polly/branches/release_32/include/polly/CodeGen/CodeGeneration.h

Tobias Grosser grosser at fim.uni-passau.de
Thu Dec 20 12:18:11 PST 2012


Author: grosser
Date: Thu Dec 20 14:18:11 2012
New Revision: 170736

URL: http://llvm.org/viewvc/llvm-project?rev=170736&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

Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168623

Modified:
    polly/branches/release_32/include/polly/CodeGen/CodeGeneration.h

Modified: polly/branches/release_32/include/polly/CodeGen/CodeGeneration.h
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/include/polly/CodeGen/CodeGeneration.h?rev=170736&r1=170735&r2=170736&view=diff
==============================================================================
--- polly/branches/release_32/include/polly/CodeGen/CodeGeneration.h (original)
+++ polly/branches/release_32/include/polly/CodeGen/CodeGeneration.h Thu Dec 20 14:18:11 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