This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt builtins] Assert that atomic.c can be compiled correctly.
ClosedPublic

Authored by efriedma on Apr 4 2022, 2:53 PM.

Details

Summary

The spinlock requires that lock-free operations are available; otherwise, the implementation just calls itself. As discussed in D120026.

Diff Detail

Event Timeline

efriedma created this revision.Apr 4 2022, 2:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 2:53 PM
Herald added a subscriber: dberris. · View Herald Transcript
efriedma requested review of this revision.Apr 4 2022, 2:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 2:53 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
lkail added a subscriber: lkail.Apr 4 2022, 9:31 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 16 2022, 2:41 PM
This revision was automatically updated to reflect the committed changes.