This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add atomic_or to list of intrinsics
ClosedPublic

Authored by ktras on Oct 31 2022, 11:13 AM.

Details

Summary

Add the atomic subroutine, atomic_or, to the list of
intrinsic subroutines, add its last dummy argument to a check
for a coindexed-object, and update test.

Diff Detail

Event Timeline

ktras created this revision.Oct 31 2022, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 31 2022, 11:13 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
ktras requested review of this revision.Oct 31 2022, 11:13 AM
PeteSteinfeld requested changes to this revision.Oct 31 2022, 2:19 PM

I'm seeing a diff in the test atomic09 for the error message associated with line 70. I suspect you need to integrate the latest changes.

This revision now requires changes to proceed.Oct 31 2022, 2:19 PM
ktras updated this revision to Diff 472150.Oct 31 2022, 3:11 PM

Update test based on recent changes in flang.

ktras added a comment.Oct 31 2022, 3:12 PM

@PeteSteinfeld Thanks for noticing that change that affected my patch! I have integrated the latest changes and updated the test accordingly.

PeteSteinfeld accepted this revision.Oct 31 2022, 6:51 PM

Thanks, @ktras. All looks good now.

This revision is now accepted and ready to land.Oct 31 2022, 6:51 PM
This revision was automatically updated to reflect the committed changes.