This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Prune unneeded indexed load/store pseudo instructions.
ClosedPublic

Authored by craig.topper on Feb 18 2021, 3:49 PM.

Details

Summary

We were creating more combinations of value and index lmul than
we needed.

I've copied the loop structure used here from VPseudoAMOEI with
all data lmul values instead of just 32/64.

Similar can be done for segment loads/store, but we're testing
illegal combinations today that need to be cleaned up first.

Diff Detail

Event Timeline

craig.topper created this revision.Feb 18 2021, 3:49 PM
craig.topper requested review of this revision.Feb 18 2021, 3:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2021, 3:49 PM
Herald added a subscriber: MaskRay. · View Herald Transcript
khchen accepted this revision.Feb 18 2021, 10:42 PM

LGTM! Thanks, I forget to update them when VPseudoAMOEI launch.

This revision is now accepted and ready to land.Feb 18 2021, 10:42 PM