[all-commits] [llvm/llvm-project] 39f2d9: [Matrix] Add option to use row-major matrix layout...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Apr 6 02:06:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 39f2d9aa81a89510ff41151e3fbe329c06218872
      https://github.com/llvm/llvm-project/commit/39f2d9aa81a89510ff41151e3fbe329c06218872
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-add-sub-double-row-major.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-row-major.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-multiple-blocks.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-i32-row-major.ll

  Log Message:
  -----------
  [Matrix] Add option to use row-major matrix layout as default.

This patch adds a -matrix-default-layout option which can be used to
set the default matrix layout to row-major or column-major (default).

The initial patch updates codegen for loads, stores, binary operators
and matrix multiply.

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

Reviewed By: anemet

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




More information about the All-commits mailing list