[PATCH] D81308: [Matrix] Use TileInfo to create tiled loop nest for matrix multiply.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 14:36:13 PDT 2020
fhahn created this revision.
fhahn added reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor, LuoYuanke, nicolasvasilache.
Herald added subscribers: tschuett, hiraditya.
Herald added a project: LLVM.
This patch uses the TileInfo introduced in D77550 <https://reviews.llvm.org/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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81308
Files:
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81308.268941.patch
Type: text/x-patch
Size: 69578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/feb6a94a/attachment.bin>
More information about the llvm-commits
mailing list