From: Michael Kruse Date: Wed, 6 Oct 2021 17:34:45 +0000 (-0500) Subject: [Polly] Completely remove -polly-opt-fusion. X-Git-Tag: upstream/15.0.7~29222 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb879d00d8d54383447c1d94ec4ef0b28873dcaa;p=platform%2Fupstream%2Fllvm.git [Polly] Completely remove -polly-opt-fusion. This was missing from 07e7cb9433daa80e7a8b418cb334c663abe68202. The switch did nothing since then. --- diff --git a/polly/lib/Transform/ScheduleOptimizer.cpp b/polly/lib/Transform/ScheduleOptimizer.cpp index 4c47b8f..932f69e 100644 --- a/polly/lib/Transform/ScheduleOptimizer.cpp +++ b/polly/lib/Transform/ScheduleOptimizer.cpp @@ -92,10 +92,6 @@ static cl::opt MaxCoefficient( cl::desc("The maximal coefficient allowed (-1 is unlimited)"), cl::Hidden, cl::init(20), cl::ZeroOrMore, cl::cat(PollyCategory)); -static cl::opt 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 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 f588a05..0c0bc12 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-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-vectorizer=stripmine -polly-invariant-load-hoisting -disable-output < %s | FileCheck %s ; ; llvm.org/PR46578 ;