This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Call SelectBaseAddr on the base pointer in the custom isel for vector loads and stores.
ClosedPublic

Authored by craig.topper on Feb 22 2021, 1:15 PM.

Details

Summary

This will allow FrameIndex as the base address instead of
emitting a separate ADDI from isel. eliminateFrameIndex will likely turn
it back into an ADDI, but this makes things consistent with the
SDPatterns and VLPatterns.

I only tested one case for simplicity. I can test more if reviewers
want.

Diff Detail

Event Timeline

craig.topper created this revision.Feb 22 2021, 1:15 PM
craig.topper requested review of this revision.Feb 22 2021, 1:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2021, 1:15 PM
Herald added a subscriber: MaskRay. · View Herald Transcript
This revision is now accepted and ready to land.Feb 26 2021, 2:12 AM
This revision was landed with ongoing or failed builds.Feb 26 2021, 11:40 AM
This revision was automatically updated to reflect the committed changes.