[all-commits] [llvm/llvm-project] ed9212: [flang] Make 'this_image()' an intrinsic function

Craig Rasmussen via All-commits all-commits at lists.llvm.org
Thu Sep 16 22:19:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed921282e551f2252ccfcbddd7a85ad8a006ed3f
      https://github.com/llvm/llvm-project/commit/ed921282e551f2252ccfcbddd7a85ad8a006ed3f
  Author: Craig Rasmussen <rasmussen17 at llnl.gov>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M flang/docs/Intrinsics.md
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/test/Semantics/call10.f90
    A flang/test/Semantics/this_image.f90

  Log Message:
  -----------
  [flang] Make 'this_image()' an intrinsic function

Added 'this_image()' to the list of functions that are evaluated as intrinsic.
Added IsCoarray functions to determine if an expression is a coarray (corank > 1).

Added save attribute to coarray variables in test file, this_image.f90.

reviewers: klausler, PeteSteinfeld

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




More information about the All-commits mailing list