[PATCH] D148430: [Matrix] Convert column-vector ops feeding dot product to row-vectors.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 15 07:37:59 PDT 2023


fhahn created this revision.
fhahn added reviewers: thegameg, anemet.
Herald added subscribers: StephenFan, tschuett, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

Generalize the logic used to convert column-vector ops to row-vectors to
support converting chains of operations.

A potential next step is to further generalize this to convert
column-vector ops to row-vector ops in general, not just for operands of
dot products. Dot-product handling would then be driven by the general
conversion, rather than the other way around.

Depends on D148429 <https://reviews.llvm.org/D148429>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148430

Files:
  llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
  llvm/test/Transforms/LowerMatrixIntrinsics/dot-product-int.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148430.513905.patch
Type: text/x-patch
Size: 9347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230415/51dc7614/attachment.bin>


More information about the llvm-commits mailing list