This is an archive of the discontinued LLVM Phabricator instance.

[SLP][NFC]Add ShuffleCostBuilder and generalize BaseShuffleAnalysis::createShuffle function, NFC.
ClosedPublic

Authored by ABataev on Apr 25 2023, 10:27 AM.

Details

Summary

Added basic implementation of ShuffleCostBuilder class in
ShuffleCostEstimator and generalized BaseShuffleAnalysis::createShuffle
function to support emission of Value */InstructionCost for the
vectorization/cost estimation.

Diff Detail

Event Timeline

ABataev created this revision.Apr 25 2023, 10:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 10:27 AM
ABataev requested review of this revision.Apr 25 2023, 10:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2023, 10:27 AM
ABataev updated this revision to Diff 519072.May 3 2023, 7:49 AM

Rebase, ping!

RKSimon accepted this revision.May 3 2023, 9:33 AM

LGTM

This revision is now accepted and ready to land.May 3 2023, 9:33 AM