[PATCH] D118239: [Matrix] Use ArrayType for allocas instead of VectorType.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 04:34:00 PST 2022
fhahn created this revision.
fhahn added reviewers: anemet, thegameg.
Herald added subscribers: tschuett, hiraditya.
fhahn updated this revision to Diff 403218.
fhahn added a comment.
fhahn published this revision for review.
Herald added a project: LLVM.
Update to remove accidentially set 'Draft' status
When creating an alloca to copy a matrix due to memory conflicts, those
allocas used to use VectorTypes, which forced them to have huge
alignments for large vectors.
This patch updates LowerMatrixIntrinsics to use a corresponding array
type, like Clang already does, to get more manageable alignments.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118239
Files:
llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-dominance.ll
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-multiple-blocks.ll
llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118239.403218.patch
Type: text/x-patch
Size: 16342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/57b5d6e4/attachment.bin>
More information about the llvm-commits
mailing list