[polly] cb879d0 - [Polly] Completely remove -polly-opt-fusion.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 8 00:23:59 PDT 2021


Author: Michael Kruse
Date: 2021-10-08T02:10:34-05:00
New Revision: cb879d00d8d54383447c1d94ec4ef0b28873dcaa

URL: https://github.com/llvm/llvm-project/commit/cb879d00d8d54383447c1d94ec4ef0b28873dcaa
DIFF: https://github.com/llvm/llvm-project/commit/cb879d00d8d54383447c1d94ec4ef0b28873dcaa.diff

LOG: [Polly] Completely remove -polly-opt-fusion.

This was missing from 07e7cb9433daa80e7a8b418cb334c663abe68202.
The switch did nothing since then.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/polly/lib/Transform/ScheduleOptimizer.cpp b/polly/lib/Transform/ScheduleOptimizer.cpp
index 4c47b8fce76a9..932f69ef7da6c 100644
--- a/polly/lib/Transform/ScheduleOptimizer.cpp
+++ b/polly/lib/Transform/ScheduleOptimizer.cpp
@@ -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,

diff  --git a/polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll b/polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll
index f588a05d9e577..0c0bc12eb4cd4 100644
--- a/polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll
+++ b/polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll
@@ -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
 ;


        


More information about the llvm-commits mailing list