[all-commits] [llvm/llvm-project] c987f9: [Matrix] Try to emit fmuladd for both vector and m...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Thu Aug 31 17:13:43 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c987f9d7fdc7b22c9bf68d7b3f0df10b68c679be
  Author: Francis Visoiu Mistrih <francisvm at apple.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGen/ffp-model.c

  Log Message:
  [Matrix] Try to emit fmuladd for both vector and matrix types

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

This enables it also for matrix * scalar + matrix.


Differential Revision: https://reviews.llvm.org/D158883

More information about the All-commits mailing list