This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][IRBuilder] Fix emitAtomicUpdate conditions
ClosedPublic

Authored by shraiysh on Mar 13 2022, 1:41 AM.

Details

Summary

This patch fixes the condition for emitting atomic update using
atomicrmw instruction or compare-exchange loop.

Diff Detail

Event Timeline

shraiysh created this revision.Mar 13 2022, 1:41 AM
Herald added a project: Restricted Project. · View Herald Transcript
shraiysh requested review of this revision.Mar 13 2022, 1:41 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
shraiysh updated this revision to Diff 416821.Mar 20 2022, 10:11 PM

Ping. Rebase with main.

ftynse accepted this revision.Mar 21 2022, 2:28 AM
This revision is now accepted and ready to land.Mar 21 2022, 2:28 AM
This revision was automatically updated to reflect the committed changes.