This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix i64 global cmpxchg
ClosedPublic

Authored by arsenm on Jun 3 2016, 9:19 PM.

Details

Reviewers
tstellarAMD
Summary

This was using extract_subreg sub0 to extract the low register
of the result instead of sub0_sub1, producing an invalid copy.

There doesn't seem to be a way to use the compound subreg indices
in tablegen since those are generated, so manually select it.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 59645.Jun 3 2016, 9:19 PM
arsenm retitled this revision from to AMDGPU: Fix i64 global cmpxchg.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Jun 9 2016, 1:15 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jun 9 2016, 1:15 PM
arsenm closed this revision.Jun 9 2016, 4:50 PM

r272344