[all-commits] [llvm/llvm-project] 30804d: CFGDiff: Simplify and generalize over all graph types

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Mar 12 10:46:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 30804d0a3fb23325c4b455108e59d00213b83891
      https://github.com/llvm/llvm-project/commit/30804d0a3fb23325c4b455108e59d00213b83891
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M llvm/include/llvm/IR/CFGDiff.h

  Log Message:
  -----------
  CFGDiff: Simplify and generalize over all graph types

Use GraphTraits in the implementation of the GraphDiff's own GraphTraits
so GraphDiff can be used across all graph types that provide
GraphTraits.

Also use partial template specializations to make the traits a bit more
compact.

Reviewers: asbirlea

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




More information about the All-commits mailing list