[all-commits] [llvm/llvm-project] d079db: [CodeGen] Basic block sections should take precend...

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


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

  Changed paths:
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/test/CodeGen/X86/basic-block-sections-labels.ll
    M llvm/test/CodeGen/X86/basic-block-sections-list.ll
    M llvm/test/CodeGen/X86/basic-block-sections.ll

  Log Message:
  -----------
  [CodeGen] Basic block sections should take precendence over splitting.

The use of basic block sections should take precedence over the machine
function splitting pass. Since they use the same underlying mechanism
they are kept exclusive. Updated the tests to check that split machine
functions is overridden by all flavours of basic block sections.

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




More information about the All-commits mailing list