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

Craig Rasmussen via All-commits all-commits at lists.llvm.org
Tue Sep 14 16:41:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81f8ad1769665a569a235b749e0e9e69ce7dc65e
      https://github.com/llvm/llvm-project/commit/81f8ad1769665a569a235b749e0e9e69ce7dc65e
  Author: Craig Rasmussen <erasmus at kierkegaard.local>
  Date:   2021-09-14 (Tue, 14 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