This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Scalarize fixed length masked loads and stores.
ClosedPublic

Authored by paulwalker-arm on Jul 7 2020, 1:11 PM.

Details

Summary

When adding support for scalable vector masked loads and stores we
accidently opened up likewise for fixed length vectors. This patch
restricts support to scalable vectors only, thus ensuring fixed
length vectors are treated the same regardless of SVE support.

Diff Detail

Event Timeline

paulwalker-arm created this revision.Jul 7 2020, 1:11 PM
paulwalker-arm marked an inline comment as done.
paulwalker-arm added inline comments.
llvm/test/Transforms/ScalarizeMaskedMemIntrin/AArch64/expand-masked-load.ll
2

For information I just copied these tests from ScalarizeMaskedMemIntrin/X86. I did consider moving them somewhere common but when we add code generation support for fixed length masked ops they'll diverge anyway.

efriedma accepted this revision.Jul 7 2020, 2:02 PM

LGTM

This revision is now accepted and ready to land.Jul 7 2020, 2:02 PM
This revision was automatically updated to reflect the committed changes.