[all-commits] [llvm/llvm-project] 83235b: [Matrix] Preserve existing fast-math flags during ...

Effective Light via All-commits all-commits at lists.llvm.org
Thu Jun 3 07:30:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83235b07e3c9c2d21a574465287150e7bf750001
      https://github.com/llvm/llvm-project/commit/83235b07e3c9c2d21a574465287150e7bf750001
  Author: Hamza Mahfooz <someguy at effective-light.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-contraction-fmf.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-double-contraction.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-float-contraction-fmf.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-float-contraction.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-multiple-blocks.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-volatile.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-minimal.ll
    A llvm/test/Transforms/LowerMatrixIntrinsics/preserve-existing-fast-math-flags.ll

  Log Message:
  -----------
  [Matrix] Preserve existing fast-math flags during lowering

This patch makes it so, floating-point instructions created in
LowerMatrixIntrinsics retain fast-math flags from instructions that are
higher up the chain.

Fixes https://bugs.llvm.org/show_bug.cgi?id=49738

Reviewed By: fhahn

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




More information about the All-commits mailing list