[all-commits] [llvm/llvm-project] c64d28: [flang] Add atomic_define and atomic_ref to list o...

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Sun Oct 23 17:45:41 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c64d281d4017fd7812b10a5176d64f4756729145
  Author: Katherine Rasmussen <krasmussen at lbl.gov>
  Date:   2022-10-23 (Sun, 23 Oct 2022)

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

  Log Message:
  [flang] Add atomic_define and atomic_ref to list of intrinsics

Add the atomic subroutines, atomic_define and atomic_ref, to the
list of intrinsic subroutines. Add a new function
CheckAtomicDefineAndRef to check that for each of these procedures,
that their value arguments are the same type as their atom
arguments, and that their 3rd argument is not coindexed.

Reviewed By: PeteSteinfeld

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

More information about the All-commits mailing list