Page MenuHomePhabricator

[TTI] NFC: Change getArithmeticReductionCost to return InstructionCost

Authored by sdesmalen on Fri, Apr 9, 8:07 AM.



This patch migrates the TTI cost interfaces to return an InstructionCost.

See this patch for the introduction of the type:
See this thread for context:

This patch is practically NFC, with the exception of an AArch64 SVE related
cost-model change, where we can now return an Invalid cost instead of some
bogus number.

Diff Detail