diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2021-06-04 23:17:41 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2021-06-04 23:22:30 -0500 |
commit | d123e983b332d061bf456c8a0b5dbbe9666eaf4c (patch) | |
tree | 1b108a07ef102e4039ef96b15ba321d038634033 /polly/unittests | |
parent | d8a4a2cb93212c493b7b47663c1cda1103de0bfc (diff) | |
download | llvm-d123e983b332d061bf456c8a0b5dbbe9666eaf4c.zip llvm-d123e983b332d061bf456c8a0b5dbbe9666eaf4c.tar.gz llvm-d123e983b332d061bf456c8a0b5dbbe9666eaf4c.tar.bz2 |
[Polly] Move MatMul optimization into its own file. NFC.
Functions shared between generalized matrix-multiplication optimization
and other post-reschedule optimizations (tiling, prevect) are moved into
the schedule tree transformation utility ScheduleTreeTransform.
Diffstat (limited to 'polly/unittests')
-rw-r--r-- | polly/unittests/ScheduleOptimizer/CMakeLists.txt | 2 | ||||
-rw-r--r-- | polly/unittests/ScheduleOptimizer/ScheduleTreeTransformTest.cpp (renamed from polly/unittests/ScheduleOptimizer/ScheduleOptimizerTest.cpp) | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/polly/unittests/ScheduleOptimizer/CMakeLists.txt b/polly/unittests/ScheduleOptimizer/CMakeLists.txt index 75adea6..2b47360 100644 --- a/polly/unittests/ScheduleOptimizer/CMakeLists.txt +++ b/polly/unittests/ScheduleOptimizer/CMakeLists.txt @@ -1,3 +1,3 @@ add_polly_unittest(ScheduleOptimizerTests - ScheduleOptimizerTest.cpp + ScheduleTreeTransformTest.cpp ) diff --git a/polly/unittests/ScheduleOptimizer/ScheduleOptimizerTest.cpp b/polly/unittests/ScheduleOptimizer/ScheduleTreeTransformTest.cpp index daa59cd..a2f3479 100644 --- a/polly/unittests/ScheduleOptimizer/ScheduleOptimizerTest.cpp +++ b/polly/unittests/ScheduleOptimizer/ScheduleTreeTransformTest.cpp @@ -1,4 +1,4 @@ -//===- ScheduleOptimizerTest.cpp ------------------------------------------===// +//===- ScheduleTreeTransformTest.cpp --------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -6,18 +6,16 @@ // //===----------------------------------------------------------------------===// -#include "polly/ScheduleOptimizer.h" +#include "polly/ScheduleTreeTransform.h" #include "gtest/gtest.h" -#include "isl/stream.h" -#include "isl/val.h" +#include "isl/ctx.h" using namespace isl; using namespace polly; namespace { -TEST(ScheduleOptimizer, getPartialTilePrefixes) { - +TEST(ScheduleTreeTransform, getPartialTilePrefixes) { isl_ctx *ctx = isl_ctx_alloc(); { |