This is an archive of the discontinued LLVM Phabricator instance.

[OpaquePtr] Create new bitcode encoding for atomicrmw
ClosedPublic

Authored by aeubanks on May 25 2021, 3:35 PM.

Details

Summary

Since the opaque pointer type won't contain the pointee type, we need to
separately encode the value type for an atomicrmw.

Emit this new code for atomicrmw.

Handle this new code and the old one in the bitcode reader.

Diff Detail

Event Timeline

aeubanks created this revision.May 25 2021, 3:35 PM
aeubanks requested review of this revision.May 25 2021, 3:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2021, 3:35 PM
dblaikie accepted this revision.May 25 2021, 4:06 PM

Looks good, thanks!

This revision is now accepted and ready to land.May 25 2021, 4:06 PM
This revision was landed with ongoing or failed builds.May 25 2021, 4:31 PM
This revision was automatically updated to reflect the committed changes.