[PATCH] D76954: LLVM support for BB-cluster sections

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 17:59:36 PDT 2020


rahmanl updated this revision to Diff 254381.
rahmanl added a comment.

The major change int this update is the ability of "not inserting unconditional branches" when fallthrough block hasn't moved.

To do this, I have moved the logic of //insertUnconditionalFallthroughBranch// function into the //updateBranches// function.


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.254381.patch
Type: text/x-patch
Size: 58489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200402/7a7b8299/attachment.bin>


More information about the llvm-commits mailing list