This is an archive of the discontinued LLVM Phabricator instance.

Make use of isAtLeastRelease/Acquire in the ARM/AArch64 backends
ClosedPublic

Authored by morisset on Aug 15 2014, 1:07 PM.

Details

Summary

Make use of isAtLeastRelease/Acquire in the ARM/AArch64 backends
These helper functions are introduced in D4844.
Depends D4844

Diff Detail

Repository
rL LLVM

Event Timeline

morisset updated this revision to Diff 12571.Aug 15 2014, 1:07 PM
morisset retitled this revision from to Make use of isAtLeastRelease/Acquire in the ARM/AArch64 backends.
morisset updated this object.
morisset edited the test plan for this revision. (Show Details)
morisset added a reviewer: jfb.
morisset added subscribers: reames, Unknown Object (MLST).
jfb edited edge metadata.Aug 15 2014, 1:17 PM

Looks good to me beyond the comment on asserts. I'll let others OK the change since I haven't touched that code base.

lib/Target/AArch64/AArch64InstrAtomics.td
32 ↗(On Diff #12571)

You probably want to keep this assert. Although it is weird that subsequent code doesn't have similar asserts (I'd expect consistency in all-asserts or none).

morisset added inline comments.Aug 15 2014, 3:35 PM
lib/Target/AArch64/AArch64InstrAtomics.td
32 ↗(On Diff #12571)

I removed this assert because of this lack of consistency, but I can add it back (and to the other functions maybe) if you want.

jfb added inline comments.Aug 15 2014, 5:04 PM
lib/Target/AArch64/AArch64InstrAtomics.td
32 ↗(On Diff #12571)

Removing it seems fine to me since the other locations don't have similar asserts.

morisset added inline comments.Aug 15 2014, 5:33 PM
lib/Target/AArch64/AArch64InstrAtomics.td
32 ↗(On Diff #12571)

Then can you accept the revision please? Thanks.

jfb accepted this revision.Aug 17 2014, 10:52 AM
jfb edited edge metadata.
This revision is now accepted and ready to land.Aug 17 2014, 10:52 AM
jfb added inline comments.Aug 17 2014, 10:53 AM
lib/Target/AArch64/AArch64InstrAtomics.td
32 ↗(On Diff #12571)

Done.

morisset closed this revision.Aug 18 2014, 9:58 AM
morisset updated this revision to Diff 12624.

Closed by commit rL215902 (authored by @morisset).