This is an archive of the discontinued LLVM Phabricator instance.

[SLP][AArch64] Add SLP vectorizer regression test. NFC
ClosedPublic

Authored by RosieSumpter on Jun 21 2021, 8:17 AM.

Details

Reviewers
SjoerdMeijer
Summary

This test is for a missed SLP vectorizer opportunity, reported here
https://bugs.llvm.org/show_bug.cgi?id=44593. This is due to a cost
modelling issue with vector reduction intrinsics which will be
fixed in a future commit (see https://reviews.llvm.org/D104538).

Diff Detail

Unit TestsFailed

Event Timeline

RosieSumpter created this revision.Jun 21 2021, 8:17 AM
RosieSumpter requested review of this revision.Jun 21 2021, 8:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2021, 8:17 AM
SjoerdMeijer accepted this revision.Jun 21 2021, 8:22 AM

Yep, looks like a good test to me.

This revision is now accepted and ready to land.Jun 21 2021, 8:22 AM
fhahn added a subscriber: fhahn.Jun 21 2021, 8:33 AM

Do we have tests for the other reductions? If not, might be good to have a test file for all of them?

Do we have tests for the other reductions? If not, might be good to have a test file for all of them?

Hi Florian, I'm happy to add more tests later but I just wanted a review for this one first as I am new to LLVM.