[all-commits] [llvm/llvm-project] e49787: [mlir][complex] Add pow/sqrt/tanh ops and lowering...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed May 18 05:03:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e497871356f2f7a42a508973960bf4f68dd4f7b8
      https://github.com/llvm/llvm-project/commit/e497871356f2f7a42a508973960bf4f68dd4f7b8
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    A mlir/include/mlir/Conversion/ComplexToLibm/ComplexToLibm.h
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/ComplexToLibm/CMakeLists.txt
    A mlir/lib/Conversion/ComplexToLibm/ComplexToLibm.cpp
    A mlir/test/Conversion/ComplexToLibm/convert-to-libm.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][complex] Add pow/sqrt/tanh ops and lowering to libm

Lowering through libm gives us a baseline version, even though it's not
going to be particularly fast. This is similar to what we do for some
math dialect ops.

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




More information about the All-commits mailing list