[PATCH] D76954: LLVM support for BB-cluster sections
Rahman Lavaee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 14:17:37 PDT 2020
rahmanl updated this revision to Diff 253992.
rahmanl added a comment.
Major changes with this update:
1- Using a StringMap of vectors instead of nested map in getBBClusterInfo (BBSectionsPrepare.cpp).
2- Structured error handling in getBBClusterInfo.
3- New basicblock-section-clusters tests exercising various combinations of clustering (involving exception handling blocks and cold code), add ensuring that branches are optimized/inserted at the right places.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76954/new/
https://reviews.llvm.org/D76954
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/MachineBasicBlock.h
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/BBSectionsPrepare.cpp
llvm/lib/CodeGen/MIRParser/MIParser.cpp
llvm/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/lib/CodeGen/MIRPrinter.cpp
llvm/lib/CodeGen/MachineBasicBlock.cpp
llvm/lib/CodeGen/MachineFunction.cpp
llvm/test/CodeGen/X86/basicblock-sections-clusters-branches.ll
llvm/test/CodeGen/X86/basicblock-sections-clusters-eh.ll
llvm/test/CodeGen/X86/basicblock-sections-clusters-error.ll
llvm/test/CodeGen/X86/basicblock-sections-clusters.ll
llvm/test/CodeGen/X86/basicblock-sections-eh.ll
llvm/test/CodeGen/X86/basicblock-sections-listbb.ll
llvm/test/CodeGen/X86/basicblock-sections-mir-parse.mir
llvm/test/CodeGen/X86/basicblock-sections-mir-print.ll
llvm/test/CodeGen/X86/basicblock-sections.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76954.253992.patch
Type: text/x-patch
Size: 57566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200331/ea00e791/attachment-0001.bin>
More information about the llvm-commits
mailing list