This is an archive of the discontinued LLVM Phabricator instance.

[TTI] NFC: Change getIntImmCodeSizeCost to return InstructionCost.
ClosedPublic

Authored by dfukalov on May 21 2021, 5:20 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.May 21 2021, 5:20 AM
dfukalov requested review of this revision.May 21 2021, 5:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2021, 5:20 AM
sdesmalen accepted this revision.Jun 2 2021, 5:42 AM

LGTM, thanks.

This revision is now accepted and ready to land.Jun 2 2021, 5:42 AM