[PATCH] D71501: Cost Annotation Writer for InlineCost
Kirill Naumov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 10:10:10 PST 2020
knaumov updated this revision to Diff 239366.
knaumov added a comment.
Answering @mtrofin comments.
Refactoring, little changes:
- Separated the initial flag into two: one prints the whole info on instruction cost and threshold, the other one prints only deltas of cost and threshold
- Changed the InlineCostDetail structure - introduced CostBefore, CostAfter, CostDelta, ThresholdBefore, ThresholdAfter, ThresholdDelta
- Changed the test that I wrote to match the check of new flags
- Little comment changes
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71501/new/
https://reviews.llvm.org/D71501
Files:
llvm/lib/Analysis/InlineCost.cpp
llvm/test/DebugInfo/debuginline-cost-delta.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71501.239366.patch
Type: text/x-patch
Size: 13079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200121/42d4928c/attachment.bin>
More information about the llvm-commits
mailing list