[PATCH] D158883: [Matrix] Try to emit fmuladd for both vector and matrix types

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 13:05:51 PDT 2023


thegameg created this revision.
thegameg added reviewers: fhahn, craig.topper.
Herald added subscribers: sunshaoce, StephenFan, tschuett.
Herald added a project: All.
thegameg requested review of this revision.

For vector * scalar + vector, we emit `fmuladd` directly from clang.

This enables it also for matrix * scalar + matrix.


https://reviews.llvm.org/D158883

Files:
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/test/CodeGen/ffp-model.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158883.553585.patch
Type: text/x-patch
Size: 7557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230825/cdbccaa8/attachment.bin>


More information about the llvm-commits mailing list