[all-commits] [llvm/llvm-project] e0e5c6: [SDAG] Don't require LazyBlockFrequencyInfo at opt...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu May 28 09:48:57 PDT 2020


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/test/CodeGen/AArch64/O0-pipeline.ll
    M llvm/test/CodeGen/X86/O0-pipeline.ll

  Log Message:
  -----------
  [SDAG] Don't require LazyBlockFrequencyInfo at optnone

While LazyBlockFrequencyInfo itself is lazy, the dominator tree
and loop info analyses it requires are not. Drop the dependency
on this pass in SelectionDAGIsel at O0.
This makes for a ~0.6% O0 compile-time improvement.

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




More information about the All-commits mailing list