[PATCH] D84614: [Attributor][WIP] Cost interface for function internalization
Luofan Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 27 07:18:13 PDT 2020
bbn updated this revision to Diff 280905.
bbn added a comment.
- Cache the `InternalizeCost` for every function
What I am thinking is that we need to calculate the cost after all dependencies between
AAs become clear. So I think we need to do the cost analysis **after** the fix point
iteration (or after the first update is done).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84614/new/
https://reviews.llvm.org/D84614
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84614.280905.patch
Type: text/x-patch
Size: 5230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/c430239e/attachment.bin>
More information about the llvm-commits
mailing list