[PATCH] D97382: NFC: Migrate PartialInlining to work on InstructionCost
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 07:05:57 PST 2021
sdesmalen created this revision.
sdesmalen added reviewers: ctetreau, paulwalker-arm, david-arm.
Herald added subscribers: dexonsmith, hiraditya.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
This patch migrates cost values and arithmetic to work on InstructionCost.
When the interfaces to TargetTransformInfo are changed, any InstructionCost
state will propagate naturally.
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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97382
Files:
llvm/include/llvm/Support/InstructionCost.h
llvm/lib/Transforms/IPO/PartialInlining.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97382.326081.patch
Type: text/x-patch
Size: 6415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210224/76963716/attachment.bin>
More information about the llvm-commits
mailing list