[all-commits] [llvm/llvm-project] 78d691: [mlir] Expose region utils functions

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Nov 19 00:24:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78d69182b7eb70e61711c805cb1956e462a29000
      https://github.com/llvm/llvm-project/commit/78d69182b7eb70e61711c805cb1956e462a29000
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M mlir/include/mlir/Transforms/RegionUtils.h
    M mlir/lib/Transforms/Utils/RegionUtils.cpp

  Log Message:
  -----------
  [mlir] Expose region utils functions

As discussed in D109579, this patch exposes `runRegionDCE` and
`eraseUnreachableBlocks` so they can be used as separate utilities in
other passes.

Reviewed By: rriddle, mehdi_amini

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




More information about the All-commits mailing list