[all-commits] [llvm/llvm-project] 69b330: [flang] Lower numeric related instrinsics

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Mar 16 12:43:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69b3303e6ba0af7a805a8be798196de2ccad47ef
      https://github.com/llvm/llvm-project/commit/69b3303e6ba0af7a805a8be798196de2ccad47ef
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp
    A flang/test/Lower/Intrinsics/exponent.f90
    A flang/test/Lower/Intrinsics/floor.f90
    A flang/test/Lower/Intrinsics/fraction.f90
    A flang/test/Lower/Intrinsics/modulo.f90
    A flang/test/Lower/Intrinsics/nint.f90
    A flang/test/Lower/Intrinsics/not.f90
    A flang/test/Lower/Intrinsics/product.f90

  Log Message:
  -----------
  [flang] Lower numeric related instrinsics

This patch adds lowering for some numeric related
intrinsics:
- `exponent`
- `floor`
- `fraction`
- `mod`
- `modulo`
- `nint`
- `not`
- `product`

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld, schweitz

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

Co-authored-by: Peter Steinfeld <psteinfeld at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: mleair <leairmark at gmail.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list