This is an archive of the discontinued LLVM Phabricator instance.

[TTI] Add generic SK_Broadcast shuffle costs
ClosedPublic

Authored by RKSimon on Oct 23 2018, 6:36 AM.

Details

Summary

I noticed while fixing PR39368 that we don't have generic shuffle costs for broadcast style shuffles.

This patch adds SK_BROADCAST handling, but exposes ARM/AARCH64 lack of handling of this type, which I've tried to handle.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Oct 23 2018, 6:36 AM
efriedma accepted this revision.Oct 24 2018, 1:39 PM

I guess no ARM/AArch64 testcases are affected because the cost would have been 1 anyway before the patch? Assuming that's the case, LGTM.

This revision is now accepted and ready to land.Oct 24 2018, 1:39 PM
This revision was automatically updated to reflect the committed changes.