[all-commits] [llvm/llvm-project] 18dd12: [flang] Operands of SIGN() need not have same kind

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon May 9 14:39:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18dd123c56754edf62c7042dcf23185c3727610f
      https://github.com/llvm/llvm-project/commit/18dd123c56754edf62c7042dcf23185c3727610f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Evaluate/folding02.f90

  Log Message:
  -----------
  [flang] Operands of SIGN() need not have same kind

The standard requires that the operands of the intrinsic function
SIGN() must have the same type (INTEGER or REAL), but they are not
required to have the same kind.

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




More information about the All-commits mailing list