[PATCH] D85368: [llvm][CodeGen] Machine Function Splitter

Snehasish Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 12:12:34 PDT 2020


snehasish updated this revision to Diff 283979.
snehasish added a comment.

Updated diff based on review comments.

- Added two mllvm options to control cold count and threshold based split.
- Added tests for the new options.
- Updated test to check for the absence of unexpected blocks.
- Renamed BBSectionsPrepare pass and rebased this diff on the change.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85368/new/

https://reviews.llvm.org/D85368

Files:
  llvm/include/llvm/CodeGen/BasicBlockSectionUtils.h
  llvm/include/llvm/CodeGen/CommandFlags.h
  llvm/include/llvm/CodeGen/MachineFunction.h
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/InitializePasses.h
  llvm/include/llvm/Target/TargetOptions.h
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/CommandFlags.cpp
  llvm/lib/CodeGen/MachineFunctionSplitter.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/test/CodeGen/X86/machine-function-splitter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85368.283979.patch
Type: text/x-patch
Size: 24655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/de0cc42f/attachment.bin>


More information about the llvm-commits mailing list