This is an archive of the discontinued LLVM Phabricator instance.

[SVE][CodeGen] Legalisation of unpredicated store instructions
ClosedPublic

Authored by kmclaughlin on Jul 2 2020, 6:09 AM.

Details

Summary

When splitting a store of a scalable type, the new address is
calculated in SplitVecOp_STORE using a vscale and an add instruction.

Diff Detail

Event Timeline

kmclaughlin created this revision.Jul 2 2020, 6:09 AM
david-arm accepted this revision.Jul 2 2020, 8:26 AM

LGTM, but good to let other reviewers have a look too!

This revision is now accepted and ready to land.Jul 2 2020, 8:26 AM
This revision was automatically updated to reflect the committed changes.
efriedma added inline comments.Jul 7 2020, 1:15 PM
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
2513

It might make sense to write a helper with the pointer increment logic? Not sure how many places you need to repeat it.