[all-commits] [llvm/llvm-project] df082a: Basic Block Sections support in LLVM.

Sriraman Tallam via All-commits all-commits at lists.llvm.org
Mon Mar 16 16:08:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: df082ac45aa034b8b5194123035554a93ed6d38e
      https://github.com/llvm/llvm-project/commit/df082ac45aa034b8b5194123035554a93ed6d38e
  Author: Sriraman Tallam <tmsriram at google.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    M llvm/include/llvm/CodeGen/MachineFunction.h
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Target/TargetLoweringObjectFile.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/lib/CodeGen/BBSectionsPrepare.cpp
    M llvm/lib/CodeGen/CMakeLists.txt
    M llvm/lib/CodeGen/CodeGen.cpp
    M llvm/lib/CodeGen/MIRParser/MILexer.cpp
    M llvm/lib/CodeGen/MIRParser/MILexer.h
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Target/TargetLoweringObjectFile.cpp
    A llvm/test/CodeGen/X86/basicblock-sections-cold.ll
    A llvm/test/CodeGen/X86/basicblock-sections-directjumps.ll
    A llvm/test/CodeGen/X86/basicblock-sections-eh.ll
    A llvm/test/CodeGen/X86/basicblock-sections-labels.ll
    A llvm/test/CodeGen/X86/basicblock-sections-list.ll
    A llvm/test/CodeGen/X86/basicblock-sections-listbb.ll
    A llvm/test/CodeGen/X86/basicblock-sections-mir-parse.mir
    A llvm/test/CodeGen/X86/basicblock-sections-mir-print.ll
    A llvm/test/CodeGen/X86/basicblock-sections.ll

  Log Message:
  -----------
  Basic Block Sections support in LLVM.

This is the second patch in a series of patches to enable basic block
sections support.

This patch adds support for:

* Creating direct jumps at the end of basic blocks that have fall
through instructions.
* New pass, bbsections-prepare, that analyzes placement of basic blocks
in sections.
* Actual placing of a basic block in a unique section with special
handling of exception handling blocks.
* Supports placing a subset of basic blocks in a unique section.
* Support for MIR serialization and deserialization with basic block
sections.

Parent patch : D68063
Differential Revision: https://reviews.llvm.org/D73674




More information about the All-commits mailing list