This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Legalize wide s8/s16 vectors G_ADD/G_MUL/G_OR/...
ClosedPublic

Authored by dzhidzhoev on Feb 7 2023, 10:11 AM.

Details

Summary

Clamp the max number of elements of s8/s16 vectors when legalizing G_ADD,
G_SUB, G_MUL, G_AND, G_OR, G_XOR, in order to support some wide vectors.

Fixes https://github.com/llvm/llvm-project/issues/58156.

Diff Detail

Event Timeline

dzhidzhoev created this revision.Feb 7 2023, 10:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2023, 10:11 AM
dzhidzhoev requested review of this revision.Feb 7 2023, 10:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 7 2023, 10:11 AM
aemerson accepted this revision.Feb 7 2023, 10:26 AM

LGTM, thanks!

This revision is now accepted and ready to land.Feb 7 2023, 10:26 AM