This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Handle flat/global G_ATOMIC_CMPXCHG
ClosedPublic

Authored by arsenm on Oct 7 2019, 10:56 AM.

Details

Summary

Custom lower this to a target instruction with the merge operands. I
think it might be better to directly select this and emit a
REG_SEQUENCE, but this would be more work since it would require
splitting the tablegen patterns for these cases from the other
atomics.

Diff Detail

Event Timeline

arsenm created this revision.Oct 7 2019, 10:56 AM
This revision is now accepted and ready to land.Oct 22 2019, 6:51 AM
arsenm closed this revision.Oct 25 2019, 1:12 PM

171cf5302f43776b07615e32b2ffd6ddf4e5d890