[all-commits] [llvm/llvm-project] b437aa: MachineDominators: Define MachineDomTree type alias

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Thu Oct 28 10:01:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b437aaa672e86e86844edc32ca2bb5fffd502597
      https://github.com/llvm/llvm-project/commit/b437aaa672e86e86844edc32ca2bb5fffd502597
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineDominators.h
    M llvm/lib/CodeGen/MachineDominators.cpp

  Log Message:
  -----------
  MachineDominators: Define MachineDomTree type alias

This is a (very) small move towards making the machine dominators more
aligned with the IR dominators:

* DominatorTree / MachineDomTree is the class holding the dominator tree
* DominatorTreeWrapperPass / MachineDominatorTree is the corresponding
  (machine) function pass

This alignment will be used by analyses that are designed as templates
that work with LLVM IR as well as Machine IR.

Reviewed By: critson

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




More information about the All-commits mailing list