This is an archive of the discontinued LLVM Phabricator instance.

[LV] Costing for VPInstructions
AbandonedPublic

Authored by dmgreen on Oct 13 2020, 8:55 AM.

Details

Summary

This adds basic costs for VPInstructions. Most are modelled using calls to TTI getArithmeticInstrCost or getCmpSelInstrCost or getIntrinsicInstrCost etc.

Selects however are expected to be free (either by being sunk out of the loop or be freely folded into another instruction), so have a zero cost.

Diff Detail

Event Timeline

dmgreen created this revision.Oct 13 2020, 8:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2020, 8:55 AM
dmgreen requested review of this revision.Oct 13 2020, 8:55 AM
dmgreen abandoned this revision.Mar 13 2023, 5:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2023, 5:36 AM