This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Split vector stores of zero.
ClosedPublic

Authored by aemerson on Dec 9 2021, 4:07 PM.

Details

Summary

This results in a very minor improvement in most cases, generating stores of xzr instead of moving zero to a vector register.

Diff Detail

Event Timeline

aemerson created this revision.Dec 9 2021, 4:07 PM
aemerson requested review of this revision.Dec 9 2021, 4:07 PM
paquette accepted this revision.Dec 9 2021, 4:16 PM

LGTM

This revision is now accepted and ready to land.Dec 9 2021, 4:16 PM
paquette added inline comments.Dec 9 2021, 4:17 PM
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-split-zero-stores.mir
134

should non-vector s128 have a test case too?

This revision was landed with ongoing or failed builds.Dec 9 2021, 7:04 PM
This revision was automatically updated to reflect the committed changes.