This is an archive of the discontinued LLVM Phabricator instance.

[NFC][SVE] Add tests for inserting subvectors into illegal scalable vectors
ClosedPublic

Authored by david-arm on Apr 16 2021, 4:20 AM.

Details

Summary

A previous commit fixed some issues with inserting subvectors into
illegal scalable vectors:

0035decae7ab9ab1c988fdcede46598540afd1a0

I've created a patch that simply adds some of those same tests for SVE.

Diff Detail

Event Timeline

david-arm created this revision.Apr 16 2021, 4:20 AM
david-arm requested review of this revision.Apr 16 2021, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2021, 4:20 AM
sdesmalen accepted this revision.Apr 26 2021, 7:24 AM

LGTM

llvm/test/CodeGen/AArch64/sve-insert-vector.ll
205–207

nit: can these be passed as arguments?

This revision is now accepted and ready to land.Apr 26 2021, 7:24 AM