This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Handle vector types in replaceZeroVectorStore.
ClosedPublic

Authored by gberry on Nov 15 2016, 10:45 AM.

Details

Summary

Extend replaceZeroVectorStore to handle more vector type stores,
floating point zero vectors and set alignment more accurately on split
stores.

This is a follow-up change to r286875.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry updated this revision to Diff 78031.Nov 15 2016, 10:45 AM
gberry retitled this revision from to [AArch64] Handle vector types in replaceZeroVectorStore..
gberry updated this object.
gberry added a reviewer: MatzeB.
gberry added subscribers: llvm-commits, mcrosier.
MatzeB accepted this revision.Nov 15 2016, 12:41 PM
MatzeB edited edge metadata.

LGTM

lib/Target/AArch64/AArch64ISelLowering.cpp
8790 ↗(On Diff #78031)

You could use MinAlign(Offset, 0) instead of 1U << countTrailingZeros(Offset).

This revision is now accepted and ready to land.Nov 15 2016, 12:41 PM
This revision was automatically updated to reflect the committed changes.