[all-commits] [llvm/llvm-project] 8d6f59: [Matrix] Use fmuladd for matrix.multiply if allowed.

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Dec 23 05:49:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d6f59b78a83489d3dacdd4db0dbf1d4213c92b7
      https://github.com/llvm/llvm-project/commit/8d6f59b78a83489d3dacdd4db0dbf1d4213c92b7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-contraction-fmf.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-contraction.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-float-contraction-fmf.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-float-contraction.ll

  Log Message:
  -----------
  [Matrix] Use fmuladd  for matrix.multiply if allowed.

If the matrix.multiply calls have the contract fast math flag, we can
use fmuladd. This als adds a command line option to force fmuladd
generation. We can retire this option once there is a clang-level
option.

Reviewers: anemet, Gerolf, hfinkel, andrew.w.kaylor

Reviewed By: anemet

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




More information about the All-commits mailing list