This is an archive of the discontinued LLVM Phabricator instance.

[TTI] NFC: Use InstructionCost to store ScalarizationCost in IntrinsicCostAttributes.
ClosedPublic

Authored by dfukalov on Apr 23 2021, 3:29 AM.

Details

Summary

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

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Diff Detail

Event Timeline

dfukalov created this revision.Apr 23 2021, 3:29 AM
dfukalov requested review of this revision.Apr 23 2021, 3:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 23 2021, 3:29 AM
samparker accepted this revision.Apr 23 2021, 3:32 AM

Thanks

This revision is now accepted and ready to land.Apr 23 2021, 3:32 AM
This revision was landed with ongoing or failed builds.Apr 23 2021, 8:02 AM
This revision was automatically updated to reflect the committed changes.

Looks good to me as well