[all-commits] [llvm/llvm-project] d983f5: [flang] Add cpowi function to runtime and use inst...

David Truby via All-commits all-commits at lists.llvm.org
Tue Oct 11 05:35:23 PDT 2022


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

  Changed paths:
    M flang/include/flang/Runtime/entry-names.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/runtime/CMakeLists.txt
    A flang/runtime/complex-powi.cpp
    M flang/test/Lower/power-operator.f90
    M flang/unittests/Runtime/CMakeLists.txt
    A flang/unittests/Runtime/Complex.cpp

  Log Message:
  -----------
  [flang] Add cpowi function to runtime and use instead of pgmath

This patch adds a cpowi function to the flang runtime, and switches
to using that function instead of pgmath for complex number to
integer power operations.

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




More information about the All-commits mailing list