Commit 8efde361 authored by Tobias Grosser's avatar Tobias Grosser
Browse files

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

llvm-svn: 170736
parent 224d42ae
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
#define POLLY_CODEGENERATION_H

#include "polly/Config/config.h"
#ifdef CLOOG_FOUND

namespace polly {
  enum VectorizerChoice {
@@ -26,6 +25,5 @@ namespace polly {
  extern VectorizerChoice PollyVectorizerChoice;
}

#endif // CLOOG_FOUND
#endif // POLLY_CODEGENERATION_H