This is an archive of the discontinued LLVM Phabricator instance.

[AArch64LoadStoreOpt] Add support for pairing volatile loads/stores.
AbandonedPublic

Authored by mcrosier on Nov 13 2015, 9:06 AM.

Details

Reviewers
None
Summary

This is just an example for D14489.

This is untested.

This also needs test cases to be updated (i.e., test/CodeGen/AArch64/arm64-volatile.ll and test/CodeGen/AArch64/arm64-platform-reg.ll).

There needs to be tests for stps similar to those included with ldps.

I'm concerned this patch will pair (and I believe reorder) things such as:

ldr x8, [x0, #8]
ldr x9, [x0]

into

ldp x9, x8, [x0]

This might be okay.. I don't know. Tim/James/Other?

Diff Detail

Event Timeline

mcrosier updated this revision to Diff 40155.Nov 13 2015, 9:06 AM
mcrosier retitled this revision from to [AArch64LoadStoreOpt] Add support for pairing volatile loads/stores..
mcrosier updated this object.
mcrosier abandoned this revision.Nov 13 2015, 9:07 AM

I just created this to direct D14489 in a better direction.