[all-commits] [llvm/llvm-project] f13a59: [Matrix] Use TileInfo to create tiled loop nest fo...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jul 20 13:12:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f13a59bcff79293f1424a32f6f14d47a4a4b3d46
      https://github.com/llvm/llvm-project/commit/f13a59bcff79293f1424a32f6f14d47a4a4b3d46
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-volatile.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll

  Log Message:
  -----------
  [Matrix] Use TileInfo to create tiled loop nest for matrix multiply.

This patch uses the TileInfo introduced in D77550 to generate a loop
nest for tiled matrix multiplication, instead of generating the
unrolled code for the whole multiplication. This makes code-generation
more scalable for larger matrixes.

Initially loops are only used if both the number of rows and columns are
divisible by the tile size. Other cases will be added as follow-up.

Reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor, LuoYuanke, nicolasvasilache

Reviewed By: anemet

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




More information about the All-commits mailing list