[all-commits] [llvm/llvm-project] 1eb5cd: [flang] Add atomic_cas to the list of intrinsics

Katherine Rasmussen via All-commits all-commits at lists.llvm.org
Tue Oct 18 10:26:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1eb5cd020c8782166c13a4d14b2a911e3d00de3d
      https://github.com/llvm/llvm-project/commit/1eb5cd020c8782166c13a4d14b2a911e3d00de3d
  Author: Katherine Rasmussen <krasmussen at lbl.gov>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

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

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

Add the atomic subroutine, atomic_cas, to the list of intrinsic
subroutines and check one of its arguments for a coindexed object.
Create a new function, CheckAtomicKind, that will be used for the
atomic subroutines that have arguments that can be either of type
int and of kind atomic_int_kind or of type logical and of kind
atomic_logical_kind.

Reviewed By: jeanPerier

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




More information about the All-commits mailing list