aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorKatherine Rasmussen <krasmussen@lbl.gov>2022-09-01 17:01:52 -0700
committerKatherine Rasmussen <krasmussen@lbl.gov>2022-09-29 09:29:27 -0700
commitaa1a2ffdbf607fb49e27cab08f2f8f215ef11011 (patch)
treeee107fb15bcde35a88ccff282db2d423d83403e6 /clang/lib/Frontend/InitPreprocessor.cpp
parenta1aa0390cb53374cda05af8b9f780ecfa0ba16e4 (diff)
downloadllvm-aa1a2ffdbf607fb49e27cab08f2f8f215ef11011.zip
llvm-aa1a2ffdbf607fb49e27cab08f2f8f215ef11011.tar.gz
llvm-aa1a2ffdbf607fb49e27cab08f2f8f215ef11011.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions