This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] NFC: Remove dead G_BUILD_VECTOR legalization rule
ClosedPublic

Authored by paquette on Mar 1 2021, 1:34 PM.

Details

Summary

Remove a rule which allows larger scalar types than the destination vector element type.

This appears to be irrelevant now that we have G_BUILD_VECTOR_TRUNC. Plus, making a G_BUILD_VECTOR which satisfies this introduces a verifier failure anyway.

Diff Detail

Event Timeline

paquette created this revision.Mar 1 2021, 1:34 PM
paquette requested review of this revision.Mar 1 2021, 1:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2021, 1:34 PM
aemerson accepted this revision.Mar 1 2021, 1:55 PM

LGTM.

This revision is now accepted and ready to land.Mar 1 2021, 1:55 PM
This revision was landed with ongoing or failed builds.Mar 1 2021, 2:05 PM
This revision was automatically updated to reflect the committed changes.