[polly] r232934 - Drop -polly-vectorizer-unroll-only option
Tobias Grosser
tobias at grosser.es
Mon Mar 23 00:00:37 PDT 2015
Author: grosser
Date: Mon Mar 23 02:00:36 2015
New Revision: 232934
URL: http://llvm.org/viewvc/llvm-project?rev=232934&view=rev
Log:
Drop -polly-vectorizer-unroll-only option
This options was earlier used for experiments with the vectorizer, but to my
knowledge is not really used anymore. If anybody needs this, we can always
reintroduce this feature.
Modified:
polly/trunk/include/polly/CodeGen/CodeGeneration.h
polly/trunk/lib/CodeGen/BlockGenerators.cpp
polly/trunk/lib/Support/RegisterPasses.cpp
polly/trunk/test/Isl/CodeGen/20130211-getNumberOfIterations.ll
Modified: polly/trunk/include/polly/CodeGen/CodeGeneration.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/CodeGeneration.h?rev=232934&r1=232933&r2=232934&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/CodeGeneration.h (original)
+++ polly/trunk/include/polly/CodeGen/CodeGeneration.h Mon Mar 23 02:00:36 2015
@@ -22,7 +22,6 @@ enum VectorizerChoice {
VECTORIZER_NONE,
VECTORIZER_STRIPMINE,
VECTORIZER_POLLY,
- VECTORIZER_UNROLL_ONLY
};
extern VectorizerChoice PollyVectorizerChoice;
Modified: polly/trunk/lib/CodeGen/BlockGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/BlockGenerators.cpp?rev=232934&r1=232933&r2=232934&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/BlockGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/BlockGenerators.cpp Mon Mar 23 02:00:36 2015
@@ -451,8 +451,7 @@ Value *VectorBlockGenerator::generateUnk
void VectorBlockGenerator::generateLoad(ScopStmt &Stmt, const LoadInst *Load,
ValueMapT &VectorMap,
VectorValueMapT &ScalarMaps) {
- if (PollyVectorizerChoice == VECTORIZER_UNROLL_ONLY ||
- !VectorType::isValidElementType(Load->getType())) {
+ if (!VectorType::isValidElementType(Load->getType())) {
for (int i = 0; i < getVectorWidth(); i++)
ScalarMaps[i][Load] =
generateScalarLoad(Stmt, Load, ScalarMaps[i], GlobalMaps[i], VLTS[i]);
Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=232934&r1=232933&r2=232934&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Mon Mar 23 02:00:36 2015
@@ -82,8 +82,6 @@ static cl::opt<polly::VectorizerChoice,
"Polly internal vectorizer"),
clEnumValN(polly::VECTORIZER_STRIPMINE, "stripmine",
"Strip-mine outer loops for the loop-vectorizer to trigger"),
- clEnumValN(polly::VECTORIZER_UNROLL_ONLY, "unroll-only",
- "Only grouped unroll the vectorize candidate loops"),
clEnumValEnd),
cl::location(PollyVectorizerChoice), cl::init(polly::VECTORIZER_NONE),
cl::ZeroOrMore, cl::cat(PollyCategory));
Modified: polly/trunk/test/Isl/CodeGen/20130211-getNumberOfIterations.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/20130211-getNumberOfIterations.ll?rev=232934&r1=232933&r2=232934&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/20130211-getNumberOfIterations.ll (original)
+++ polly/trunk/test/Isl/CodeGen/20130211-getNumberOfIterations.ll Mon Mar 23 02:00:36 2015
@@ -1,5 +1,4 @@
; RUN: opt %loadPolly -polly-detect-unprofitable -polly-codegen-isl -polly-vectorizer=polly < %s
-; RUN: opt %loadPolly -polly-detect-unprofitable -polly-codegen-isl -polly-vectorizer=unroll-only < %s
; This test case checks that the polly vectorizer does not crash when
; calculating the number of iterations.
More information about the llvm-commits
mailing list