[all-commits] [llvm/llvm-project] bddfb8: [flang] Accept sparse argument keyword names for M...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jan 19 17:36:39 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bddfb81a312e68053fce5d11274e7764f9363e79
      https://github.com/llvm/llvm-project/commit/bddfb81a312e68053fce5d11274e7764f9363e79
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

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

  Log Message:
  -----------
  [flang] Accept sparse argument keyword names for MAX/MIN

Accept any keyword argument names of the form "An" for
values of n >= 3 in calls to the intrinsic functions MAX, MIN,
and their variants, so long as "n" has no leading zero and
all the keywords are distinct.  Previously, f18 was needlessly
requiring the names to be contiguous.  When synthesizing keywords
to characterize the procedure's interface, don't conflict with
the program's keywords.

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




More information about the All-commits mailing list