[all-commits] [llvm/llvm-project] 3f1009: [flang] Allow pure function references in expandab...

Peter Klausler via All-commits all-commits at lists.llvm.org
Sun Aug 7 09:13:09 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f10091c04e1478e0e5b2deb7dd782ebca0d529c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-08-07 (Sun, 07 Aug 2022)

  Changed paths:
    M flang/include/flang/Evaluate/call.h
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/call.cpp
    M flang/lib/Semantics/expression.cpp

  Log Message:
  [flang] Allow pure function references in expandable scalar

F18 disallows function references and coarray references from
appearing in scalar expressions that are to be expanded into
arrays to conform with other operands or actual arguments in
an elemental expression.  This is too strong, as pure procedures
can be safely used.

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

More information about the All-commits mailing list