llvm/polly/lib
Roman Gareev 113fa82c3c [Polly] Check the properties of accesses to operands of a matrix-matrix
multiplication

The following code modifies elements of the array D.

    for (i = 0; i < _PB_NI; i++)
      for (j = 0; j < _PB_NJ; j++)
      {
        for (k = 0; k < _PB_NK; k++)
        {
          double Mul = A[i][k] * B[k][j];
          D[i][j][k] += Mul;
          C[i][j] += Mul;
        }
      }

Nevertheless, the code is recognised as a matrix-matrix multiplication, since
the second and third dimensions of D are accessed with non-zero strides.

This fixes the typo, which was made during the translation to C++ bindings
(https://reviews.llvm.org/D35845).

Reviewed By: Michael Kruse <llvm@meinersbur.de>

Differential Revision: https://reviews.llvm.org/D110491
2021-09-28 22:58:57 +05:00
..
Analysis [Polly] Reject regions entered by an indirectbr/callbr. 2021-09-27 18:49:11 -05:00
CodeGen [Polly] Use VirtualUse to determine references. 2021-09-26 03:26:43 -05:00
Exchange [Polly][Isl] Move to the new-polly-generator branch version of isl-noexceptions.h. NFCI 2021-08-16 15:53:26 +02:00
External [Polly] Remove autotools build systems from Externals. NFC. 2021-09-15 17:11:15 -05:00
Plugin
Support [Polly] Support for InlineAsm. 2021-09-26 03:26:43 -05:00
Transform [Polly] Check the properties of accesses to operands of a matrix-matrix 2021-09-28 22:58:57 +05:00
CMakeLists.txt [Polly] Add support for -polly-dump-before/after with NPM. 2021-08-22 20:43:35 -05:00