[PATCH] D87813: [llvm]Add an option to emit cold clusters to a different section.
Snehasish Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 14:17:14 PDT 2020
snehasish updated this revision to Diff 294161.
snehasish marked 5 inline comments as done.
snehasish added a comment.
Document flag, tighten test, rename var and option for clarity.
- Flag name and var name: bbsection-cold-text-prefix - BBSectionColdTextPrefix
- Add comment about why this option is useful.
- Update test to be more rigourous.
- Rebase.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87813/new/
https://reviews.llvm.org/D87813
Files:
llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h
llvm/lib/CodeGen/BasicBlockSections.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/basic-block-sections-cold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87813.294161.patch
Type: text/x-patch
Size: 4305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200924/95ec4b85/attachment.bin>
More information about the llvm-commits
mailing list