Check reduction dependencies in case of the matrix multiplication optimization
commit8a17cb41b97797b8b13c40a51464e3159cc09860
authorRoman Gareev <gareevroman@gmail.com>
Sat, 11 Feb 2017 09:59:09 +0000 (11 09:59 +0000)
committerRoman Gareev <gareevroman@gmail.com>
Sat, 11 Feb 2017 09:59:09 +0000 (11 09:59 +0000)
treee0318e00f6980be40300cf1e551f2032fe6fadf4
parent7d45a34f8fa7fd2773b5d0df0ba9a836c33cbc34
Check reduction dependencies in case of the matrix multiplication optimization

To determine parameters of the matrix multiplication, we check RAW dependencies
that can be expressed using only reduction dependencies. Consequently, we
should check the reduction dependencies, if this is the case.

Reviewed-by: Tobias Grosser <tobias@grosser.es>,
             Sven Verdoolaege <skimo-polly@kotnet.org>
             Michael Kruse <llvm@meinersbur.de>

Differential Revision: https://reviews.llvm.org/D29814

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@294836 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transform/ScheduleOptimizer.cpp
test/ScheduleOptimizer/pattern-matching-based-opts_9.ll [new file with mode: 0644]