[PATCH] D148429: [Matrix] Convert binop operand of dot product to a row vector.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 15 07:07:16 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.

The dot product lowering will use the left operand as row vector.
If the operand is a binary op, convert it to operate on a row vector
instead of a column vector.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148429

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148429.513902.patch
Type: text/x-patch
Size: 14984 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230415/d9e93dc5/attachment.bin>


More information about the llvm-commits mailing list