This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][NFC] Add a series of codegen tests for vector reductions.
ClosedPublic

Authored by stefanp on Nov 12 2021, 1:13 PM.

Details

Summary

This patch only adds tests for PowerPC. The purpose of these tests
is to track what code is generated for various vector reductions.

Diff Detail

Event Timeline

stefanp created this revision.Nov 12 2021, 1:13 PM
stefanp requested review of this revision.Nov 12 2021, 1:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2021, 1:13 PM
stefanp added a reviewer: Restricted Project.Nov 12 2021, 1:24 PM
nemanjai accepted this revision.Nov 15 2021, 9:31 AM

Thanks for adding these. I look forward to seeing improvements to some of these as there are a number of them that currently produce fairly terrible code.

This revision is now accepted and ready to land.Nov 15 2021, 9:31 AM
stefanp updated this revision to Diff 388592.Nov 19 2021, 12:08 PM

Added the option -mattr=-paired-vector-memops to some of the P10 tests to keep
the instructions consistent without the paired vector memory operations.
The run lines were getting long so I split them up over multiple lines.

This revision was landed with ongoing or failed builds.Nov 19 2021, 1:03 PM
This revision was automatically updated to reflect the committed changes.
llvm/test/CodeGen/PowerPC/vector-reduce-and.ll