This is an archive of the discontinued LLVM Phabricator instance.

[clang][WebAssembly] Only expose wait and notify builtins with atomics
ClosedPublic

Authored by tlively on May 6 2020, 5:54 PM.

Details

Summary

Since the underlying wait and notify instructions are only available
when the atomics feature is enabled, it only makes sense to expose
their builtin functions when atomics are enabled.

Diff Detail

Event Timeline

tlively created this revision.May 6 2020, 5:54 PM
sbc100 accepted this revision.EditedMay 6 2020, 6:18 PM
This comment has been deleted.
This revision is now accepted and ready to land.May 6 2020, 6:18 PM
aheejin accepted this revision.May 6 2020, 8:29 PM
This revision was automatically updated to reflect the committed changes.