This is an archive of the discontinued LLVM Phabricator instance.

[TTI] NFC: Change getScalarizationOverhead and getOperandsScalarizationOverhead to return InstructionCost.
ClosedPublic

Authored by dfukalov on Apr 26 2021, 3:45 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 26 2021, 3:45 AM
dfukalov requested review of this revision.Apr 26 2021, 3:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2021, 3:45 AM
sdesmalen accepted this revision.Apr 26 2021, 7:44 AM

Seems like a mechanical change. LGTM, thanks!

This revision is now accepted and ready to land.Apr 26 2021, 7:44 AM