This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Add MMOs to callee-save load/store instructions.
ClosedPublic

Authored by gberry on Feb 26 2016, 3:45 PM.

Details

Summary

Without MMOs, the callee-save load/store instructions were treated as
volatile by the MI post-RA scheduler and AArch64LoadStoreOptimizer.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry updated this revision to Diff 49261.Feb 26 2016, 3:45 PM
gberry retitled this revision from to [AArch64] Add MMOs to callee-save load/store instructions..
gberry updated this object.
gberry added reviewers: t.p.northover, mcrosier.
gberry added a subscriber: llvm-commits.

The only test I could think of other than checking the post-RA scheduling order (which seems too fragile), would be to check the MI dump after PrologEpilogInserter for MMOs. I can add such a test if you think it is useful.

gberry updated this revision to Diff 49399.Feb 29 2016, 11:12 AM

Add potential test case.

mcrosier accepted this revision.Mar 7 2016, 12:00 PM
mcrosier edited edge metadata.

LGTM. The test seems reasonable and I can't come up with a better solution.

This revision is now accepted and ready to land.Mar 7 2016, 12:00 PM
gberry updated this revision to Diff 50618.Mar 14 2016, 11:20 AM
gberry edited edge metadata.

Updated test case and make dependant on D18093

This revision was automatically updated to reflect the committed changes.