-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
Showing
4 changed files
with
83 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters