[all-commits] [llvm/llvm-project] aa1a2f: [flang] Add atomic_fetch_or to the list of intrinsics

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Thu Sep 29 09:35:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa1a2ffdbf607fb49e27cab08f2f8f215ef11011
      https://github.com/llvm/llvm-project/commit/aa1a2ffdbf607fb49e27cab08f2f8f215ef11011
  Author: Katherine Rasmussen <krasmussen at lbl.gov>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/module/__fortran_builtins.f90
    M flang/module/iso_fortran_env.f90
    M flang/test/Semantics/atomic07.f90

  Log Message:
  -----------
  [flang] Add atomic_fetch_or to the list of intrinsics

Add the atomic subroutine, atomic_fetch_or, to the list of
intrinsic subroutines. Add new enumerators to deal with the rank
of the atom dummy argument, and the kind of atomic_int_kind. Use
check for a coindexed-object for the fourth dummy argument. Move
atomic_int_kind and atomic_logical_kind definitions from
iso_fortran_env module to the __fortran_builtins module to allow
for access to those values when analyzing `atomic_fetch_or`
calls in flang/lib/Evaluate/intrinsics.cpp.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list