[flang-commits] [PATCH] D136206: [flang] Add atomic_define and atomic_ref to list of intrinsics

Katherine Rasmussen via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue Oct 18 15:08:15 PDT 2022


ktras created this revision.
ktras added reviewers: klausler, jeanPerier, PeteSteinfeld, rouson, hussainjk, pmccormick, sscalpone.
ktras added projects: Flang, LLVM.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
ktras requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136206

Files:
  flang/lib/Evaluate/intrinsics.cpp
  flang/test/Semantics/atomic04.f90
  flang/test/Semantics/atomic10.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136206.468716.patch
Type: text/x-patch
Size: 11471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221018/28048e88/attachment-0001.bin>


More information about the flang-commits mailing list