[all-commits] [llvm/llvm-project] 1b9faa: [flang] Lower MOD to Fortran runtime call.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri Aug 5 12:57:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b9faafe911ef05c893553cb79cb35db063f1bb3
      https://github.com/llvm/llvm-project/commit/1b9faafe911ef05c893553cb79cb35db063f1bb3
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
    A flang/test/Lower/Intrinsics/mod.f90

  Log Message:
  -----------
  [flang] Lower MOD to Fortran runtime call.

This change removes dependency on pgmath mod, and also allows
Fortran runtime to issue a diagnostic message in case of zero
denominator.

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




More information about the All-commits mailing list