[all-commits] [llvm/llvm-project] f1d4db: [GraphDiff] Use class method getChildren instead o...

Alina Sbirlea via All-commits all-commits at lists.llvm.org
Mon Jul 27 16:13:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f1d4db4f0cdcbfeaee0840bf8a4fb5dc1b9b56fd
      https://github.com/llvm/llvm-project/commit/f1d4db4f0cdcbfeaee0840bf8a4fb5dc1b9b56fd
  Author: Alina Sbirlea <asbirlea at google.com>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
    M llvm/include/llvm/Analysis/MemorySSAUpdater.h
    M llvm/include/llvm/Support/CFGDiff.h
    M llvm/lib/Analysis/MemorySSAUpdater.cpp

  Log Message:
  -----------
  [GraphDiff] Use class method getChildren instead of GraphTraits.

Summary:
Use getChildren() method in GraphDiff instead of GraphTraits.

This simplifies the code and allows for refactorigns inside GraphDiff.
All usecase need not have a light-weight/copyable range.
Clean GraphTraits implementation.

Reviewers: dblaikie

Subscribers: hiraditya, llvm-commits, george.burgess.iv

Tags: #llvm

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




More information about the All-commits mailing list