This is an archive of the discontinued LLVM Phabricator instance.

[lldb][AArch64] Handle different default vector length in SVE testing
ClosedPublic

Authored by DavidSpickett on Jun 30 2023, 5:42 AM.

Details

Summary

This test previously ran on QEMU or A64FX both of which can/do have
512 bit SVE by default.

Graviton 3 has 256 bit SVE so the first part of the test failed.

To fix this, probe the supported vector lengths before starting
the test. The first check will use the default vector length and
the rest use either 256 or 128 bit.

Therefore this test will be skipped on a machine with only 128 bit SVE.

Diff Detail

Event Timeline

DavidSpickett created this revision.Jun 30 2023, 5:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 5:42 AM
DavidSpickett requested review of this revision.Jun 30 2023, 5:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 5:42 AM
Matt added a subscriber: Matt.Jun 30 2023, 4:29 PM
omjavaid accepted this revision.Jul 4 2023, 3:02 AM
This revision is now accepted and ready to land.Jul 4 2023, 3:02 AM