This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Allow poison elements of fixed-vectors to be duplicated as a widened element
ClosedPublic

Authored by MattDevereau on Jan 16 2023, 6:31 AM.

Details

Summary

Expanding upon https://reviews.llvm.org/D138203, allow null indices in
InsertElts to be matched with any value and be duplicated if the fixed
vector the scalar values are inserted into is poison, and the scalable vector
the sub-vector being inserted into is poison.

Diff Detail

Event Timeline

MattDevereau created this revision.Jan 16 2023, 6:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2023, 6:31 AM
MattDevereau requested review of this revision.Jan 16 2023, 6:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2023, 6:31 AM
peterwaller-arm accepted this revision.Jan 18 2023, 7:53 AM
peterwaller-arm added inline comments.
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
1452

Nit: else seems unnecessary.

This revision is now accepted and ready to land.Jan 18 2023, 7:53 AM
This revision was landed with ongoing or failed builds.Jan 19 2023, 8:04 AM
This revision was automatically updated to reflect the committed changes.