[Polly][Matmul] Re-pack A in every iteration.
authorMichael Kruse <llvm-project@meinersbur.de>
Sun, 6 Jun 2021 11:26:24 +0000 (06:26 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Wed, 9 Jun 2021 20:19:52 +0000 (15:19 -0500)
commita56bd7dec8da4348d847d53c96d8a30f4a821d36
tree3efaec43d016e82c4fa999f024bac9a3a4842f1e
parent4c9471581fa07331b9ec8e4ab1ea312fba43c0b6
[Polly][Matmul] Re-pack A in every iteration.

Packed_A must be copied repeatedly, not just for the first iteration of
the outer tile.

This fixes llvm.org/PR50557
14 files changed:
polly/include/polly/Support/ISLTools.h
polly/lib/Support/ISLTools.cpp
polly/lib/Transform/MatmulOptimizer.cpp
polly/test/ScheduleOptimizer/mat_mul_pattern_data_layout.ll
polly/test/ScheduleOptimizer/mat_mul_pattern_data_layout_2.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_12.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_13.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_3.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_4.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_5.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_6.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_7.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_8.ll
polly/test/ScheduleOptimizer/pattern-matching-based-opts_9.ll