[all-commits] [llvm/llvm-project] 2833c4: [DwarfEHPrepare] Don't prune unreachable resumes a...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat May 23 11:58:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2833c46f75a9cb97d717101a70db76d20cc4fcbd
      https://github.com/llvm/llvm-project/commit/2833c46f75a9cb97d717101a70db76d20cc4fcbd
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-05-23 (Sat, 23 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/Passes.h
    M llvm/lib/CodeGen/DwarfEHPrepare.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll

  Log Message:
  -----------
  [DwarfEHPrepare] Don't prune unreachable resumes at optnone

Disable pruning of unreachable resumes in the DwarfEHPrepare pass
at optnone. While I expect the pruning itself to be essentially free,
this does require a dominator tree calculation, that is not used for
anything else. Saving this DT construction makes for a 0.4% O0
compile-time improvement.

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




More information about the All-commits mailing list