This is an archive of the discontinued LLVM Phabricator instance.

[mir] Print/Parse both MOLoad and MOStore when they occur together.
ClosedPublic

Authored by dsanders on Nov 16 2017, 4:27 PM.

Details

Summary

They're not always mutually exclusive. read-modify-write atomics are both
at the same time. One example of this is the SWP instructions on AArch64.
Another example is GlobalISel's G_ATOMICRMW_* generic instructions which
will be added in a later patch.