[all-commits] [llvm/llvm-project] f55ad3: [DomTree] Extend update API to allow a post CFG view.

Alina Sbirlea via All-commits all-commits at lists.llvm.org
Fri Aug 21 17:24:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f55ad3973dec62b1dd6dbe9c4eb81c5e883e3628
      https://github.com/llvm/llvm-project/commit/f55ad3973dec62b1dd6dbe9c4eb81c5e883e3628
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2020-08-21 (Fri, 21 Aug 2020)

  Changed paths:
    M llvm/include/llvm/IR/Dominators.h
    M llvm/include/llvm/Support/GenericDomTree.h
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h
    M llvm/lib/Analysis/MemorySSAUpdater.cpp
    M llvm/lib/IR/Dominators.cpp

  Log Message:
  -----------
  [DomTree] Extend update API to allow a post CFG view.

Extend the `applyUpdates` in DominatorTree to allow a post CFG view,
different from the current CFG.
This patch implements the functionality of updating an already up to
date DT, to the desired PostCFGView.
Combining a set of updates towards an up to date DT and a PostCFGView is
not yet supported.

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




More information about the All-commits mailing list