This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Exploit XXPERM Instruction
Needs ReviewPublic

Authored by Conanap on Nov 2 2021, 1:53 PM.

Details

Reviewers
nemanjai
Group Reviewers
Restricted Project
Summary

When a vector input is dead, we can use it as the target
instead of using extra registers. This is the first part of a
two part patch. This patch checks only if the first
input is dead, and if it is, to replace VPERM with XXPERM.

Diff Detail

Event Timeline

Conanap created this revision.Nov 2 2021, 1:53 PM
Conanap requested review of this revision.Nov 2 2021, 1:53 PM
Conanap updated this revision to Diff 384574.Nov 3 2021, 1:38 PM

Fixed unintended changes

Conanap updated this revision to Diff 385573.Nov 8 2021, 11:06 AM

Updated the SDT definition for PPCxxperm to allow for different types of masks