[all-commits] [llvm/llvm-project] 0e28fe: [flang] NORM2(DIM=) argument can't be dynamically ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 3 09:04:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e28fe62c75658561569603136dff3c271d95a6e
      https://github.com/llvm/llvm-project/commit/0e28fe62c75658561569603136dff3c271d95a6e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

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

  Log Message:
  -----------
  [flang] NORM2(DIM=) argument can't be dynamically optional

The intrinsic function table entry for NORM2 treats its DIM=
argument as if it can be dynamically optional; this is wrong,
and it should be treated in the same way as DIM= is for other
transformational intrinsic functions like SUM.

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




More information about the All-commits mailing list