This is an archive of the discontinued LLVM Phabricator instance.

[VE] Support atomic load
ClosedPublic

Authored by kaz7 on Oct 26 2020, 1:07 AM.

Details

Summary

Support atomic load instruction and add a regression test.
VE uses release consitency, so need to insert fence around
atomic instructions. This patch enable AtomicExpandPass
and use emitLeadingFence and emitTrailingFence mechanism
for such purpose.

Diff Detail

Event Timeline

kaz7 created this revision.Oct 26 2020, 1:07 AM
kaz7 requested review of this revision.Oct 26 2020, 1:07 AM
simoll accepted this revision.Oct 26 2020, 1:34 AM
This revision is now accepted and ready to land.Oct 26 2020, 1:34 AM
This revision was landed with ongoing or failed builds.Oct 26 2020, 2:02 AM
Closed by commit rGf32992ad2447: [VE] Support atomic load (authored by kaz7). · Explain Why
This revision was automatically updated to reflect the committed changes.