[PATCH] D101762: [Matrix] Fold the transpose into the matmul operand used to fetch scalars
Adam Nemet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 3 08:55:48 PDT 2021
anemet created this revision.
anemet added a reviewer: fhahn.
Herald added subscribers: tschuett, hiraditya.
anemet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
For column-major this is:
A * B^t
whereas for row-major:
A^t * B
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101762
Files:
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-left-transpose-row-major.ll
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-right-transpose.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101762.342410.patch
Type: text/x-patch
Size: 21257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210503/e368170a/attachment.bin>
More information about the llvm-commits
mailing list