Page MenuHomePhabricator

[AArch64][SVE] Use TargetFrameIndex in more SVE load/store addressing modes

Authored by bsmith on Oct 27 2021, 6:02 AM.



Add support for generating TargetFrameIndex in complex patterns for
indexed addressing modes in SVE. Additionally, add missing load/stores
to getMemOpInfo and getLoadStoreImmIdx.

Diff Detail

Event Timeline

bsmith created this revision.Oct 27 2021, 6:02 AM
bsmith requested review of this revision.Oct 27 2021, 6:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2021, 6:02 AM

If these patterns are no longer needed, does the same thing apply to the two remaining uses of am_sve_fi?

... and if so could am_sve_fi be removed? I'm guessing here that these are no longer necessary because some other part of the lowering handles it after your change, and I see that STR_PXI and LDR_PXI are already handled around there.

bsmith added inline comments.Oct 28 2021, 3:19 AM

Not in their current state, no. The Other uses of arm_sve_fi are in places that don't have patterns for that the indexed complex patterns that have changed. I did consider changing those instruction patterns, but it's not clear to me why they have been written like that, and given it's not causing an issue I opted to leave them as is.

This revision is now accepted and ready to land.Oct 28 2021, 3:48 AM