[all-commits] [llvm/llvm-project] cf550e: [flang] Run MathToLLVM conversion as part of math ...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Feb 21 19:16:17 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf550e6184dfeb1c2838132b4910548002d08563
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp

  Log Message:
  [flang] Run MathToLLVM conversion as part of math conversion PM.

We used to specify benefit=0 for MathToLibm patterns so that
MathToLLVM patterns are more preferable. D144450 removed
the benefit parameter, so we have to run MathToLLVM separately now.

This resolves Intrinsics/math-codegen failure caused by D144450.

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

More information about the All-commits mailing list