[PATCH] D76325: [Matrix] Add option to use row-major matrix layout as default.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 17 14:35:19 PDT 2020
fhahn created this revision.
fhahn added reviewers: anemet, Gerolf, andrew.w.kaylor, LuoYuanke.
Herald added subscribers: tschuett, hiraditya.
Herald added a project: LLVM.
fhahn added a subscriber: nicolasvasilache.
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.
TODO: additional tests.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76325
Files:
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-row-major.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76325.250897.patch
Type: text/x-patch
Size: 39016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200317/3926f2ab/attachment.bin>
More information about the llvm-commits
mailing list