[Polly] Completely remove -polly-opt-fusion.
authorMichael Kruse <llvm-project@meinersbur.de>
Wed, 6 Oct 2021 17:34:45 +0000 (12:34 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Fri, 8 Oct 2021 07:10:34 +0000 (02:10 -0500)
This was missing from 07e7cb9433daa80e7a8b418cb334c663abe68202.
The switch did nothing since then.

polly/lib/Transform/ScheduleOptimizer.cpp
polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll

index 4c47b8f..932f69e 100644 (file)
@@ -92,10 +92,6 @@ static cl::opt<int> MaxCoefficient(
     cl::desc("The maximal coefficient allowed (-1 is unlimited)"), cl::Hidden,
     cl::init(20), cl::ZeroOrMore, cl::cat(PollyCategory));
 
-static cl::opt<std::string> FusionStrategy(
-    "polly-opt-fusion", cl::desc("The fusion strategy to choose (min/max)"),
-    cl::Hidden, cl::init("min"), cl::ZeroOrMore, cl::cat(PollyCategory));
-
 static cl::opt<std::string>
     MaximizeBandDepth("polly-opt-maximize-bands",
                       cl::desc("Maximize the band depth (yes/no)"), cl::Hidden,
index f588a05..0c0bc12 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-opt-isl -polly-opt-fusion=max -polly-vectorizer=stripmine -polly-invariant-load-hoisting -polly-optimized-scops -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly "-passes=scop(print<polly-opt-isl>)" -polly-opt-fusion=max -polly-vectorizer=stripmine -polly-invariant-load-hoisting -disable-output < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-opt-isl -polly-vectorizer=stripmine -polly-invariant-load-hoisting -polly-optimized-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly "-passes=scop(print<polly-opt-isl>)" -polly-vectorizer=stripmine -polly-invariant-load-hoisting -disable-output < %s | FileCheck %s
 ;
 ; llvm.org/PR46578
 ;