This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Add a new test for vperm with a swapped vector operand and a constant pool
ClosedPublic

Authored by maryammo on Apr 21 2023, 10:01 AM.

Details

Summary

This patch adds a new test that includes a vperm instruction with xxswapd as its
vector operand on little-endian Power8. The test demonstrates the constant pool
for the mask operand, which is intended to indicate the optimization of vperm
and the modification of the constant pool in subsequent patches.

Diff Detail

Event Timeline

maryammo created this revision.Apr 21 2023, 10:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 10:01 AM
maryammo requested review of this revision.Apr 21 2023, 10:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 10:01 AM
maryammo added reviewers: Restricted Project, stefanp, nemanjai.Apr 21 2023, 10:03 AM
amyk accepted this revision as: amyk.Apr 24 2023, 7:15 AM

LGTM.

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