[all-commits] [llvm/llvm-project] 0d4ec1: Extend BasicBlock sections to allow specifying clu...
Rahman Lavaee via All-commits
all-commits at lists.llvm.org
Mon Apr 13 11:46:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0d4ec16d3db3a92514e14101f635e8536c208c4f
https://github.com/llvm/llvm-project/commit/0d4ec16d3db3a92514e14101f635e8536c208c4f
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2020-04-13 (Mon, 13 Apr 2020)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
M llvm/include/llvm/Target/TargetLoweringObjectFile.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/BBSectionsPrepare.cpp
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/Target/TargetLoweringObjectFile.cpp
M llvm/test/CodeGen/X86/basicblock-sections-cold.ll
M llvm/test/CodeGen/X86/basicblock-sections-directjumps.ll
M llvm/test/CodeGen/X86/basicblock-sections-eh.ll
M llvm/test/CodeGen/X86/basicblock-sections-list.ll
M llvm/test/CodeGen/X86/basicblock-sections-listbb.ll
M llvm/test/CodeGen/X86/basicblock-sections-mir-parse.mir
M llvm/test/CodeGen/X86/basicblock-sections-mir-print.ll
M llvm/test/CodeGen/X86/basicblock-sections.ll
Log Message:
-----------
Extend BasicBlock sections to allow specifying clusters of basic blocks
in the same section.
This allows specifying BasicBlock clusters like the following example:
!foo
!!0 1 2
!!4
This places basic blocks 0, 1, and 2 in one section in this order, and
places basic block #4 in a single section of its own.
More information about the All-commits
mailing list