[all-commits] [llvm/llvm-project] b884f4: [mlir][IR] Add ForwardDominanceIterator for IR wal...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Mar 13 02:04:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b884f4ef0a2de3d0f24111411dff663fd68c2eb0
      https://github.com/llvm/llvm-project/commit/b884f4ef0a2de3d0f24111411dff663fd68c2eb0
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    A mlir/include/mlir/IR/Iterators.h
    M mlir/include/mlir/IR/RegionKindInterface.h
    M mlir/include/mlir/IR/Visitors.h
    M mlir/lib/IR/RegionKindInterface.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/IR/visitors.mlir
    M mlir/test/lib/IR/TestVisitors.cpp

  Log Message:
  -----------
  [mlir][IR] Add ForwardDominanceIterator for IR walkers

This iterator is similar to `ForwardIterator` but enumerates blocks according to their successor relationship. As a first use case, this new iterator is utilized in the dialect conversion framework.

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




More information about the All-commits mailing list