[all-commits] [llvm/llvm-project] 000de6: [flang] Use mlir complex dialect for supported ope...

David Truby via All-commits all-commits at lists.llvm.org
Wed Oct 26 05:38:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 000de66649110bc3e0e7cc7d353f3d30c656bcb2
      https://github.com/llvm/llvm-project/commit/000de66649110bc3e0e7cc7d353f3d30c656bcb2
  Author: David Truby <david.truby at arm.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Support/InitFIR.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Lower/Intrinsics/abs.f90
    M flang/test/Lower/Intrinsics/exp.f90
    M flang/test/Lower/Intrinsics/log.f90
    M flang/test/Lower/math-lowering.f90
    M flang/test/Lower/power-operator.f90
    M flang/test/Lower/sqrt.f90
    M flang/test/Lower/trigonometric-intrinsics.f90

  Log Message:
  -----------
  [flang] Use mlir complex dialect for supported operations

This patch lowers the complex operations supported by the MLIR complex
dialect to those operations rather than libm. When the math runtime flag
is set to precise, libm lowering is used instead.

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




More information about the All-commits mailing list