[all-commits] [llvm/llvm-project] 2c7077: [CodeGen] Split out cold exception handling pads.

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Thu Feb 11 11:25:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c7077e67dc77834607c877ad6e8caa6e33ae238
      https://github.com/llvm/llvm-project/commit/2c7077e67dc77834607c877ad6e8caa6e33ae238
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/MachineFunctionSplitter.cpp
    M llvm/test/CodeGen/X86/machine-function-splitter.ll

  Log Message:
  -----------
  [CodeGen] Split out cold exception handling pads.

Support for splitting exception handling pads was added in D73739. This
change updates the code to split out exception handling pads if profile
information indicates that they are cold. For a given function with
multiple landind pads, if one of them is hot they are all retained as
part of the hot code section.

Differential Revision: https://reviews.llvm.org/D96372




More information about the All-commits mailing list