[PATCH] D85628: [HotColdSplitting] Add command line options for supplying cold function names via user input.
Ruijie Fang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 12:39:41 PDT 2020
rjf updated this revision to Diff 285163.
rjf added a comment.
Mark cold functions in advance before outlining them.
Originally, as illustrated in the test case, the `go()` function
should be cold but not marked as such, since it predates two functions that are cold but not yet marked as cold.
Thanks to @hiraditya for spotting this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85628/new/
https://reviews.llvm.org/D85628
Files:
llvm/include/llvm/Transforms/IPO/HotColdSplitting.h
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
llvm/test/Transforms/HotColdSplit/custom-cold-cmd.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85628.285163.patch
Type: text/x-patch
Size: 12071 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/f53384a0/attachment.bin>
More information about the llvm-commits
mailing list