[all-commits] [llvm/llvm-project] 90b255: [mlir][NFC] Expose the `CFGToSCFInterface` for the...

Markus Böck via All-commits all-commits at lists.llvm.org
Tue Aug 15 06:57:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90b25562b946b9f14f6357fc39a91f3839b44fc1
      https://github.com/llvm/llvm-project/commit/90b25562b946b9f14f6357fc39a91f3839b44fc1
  Author: Markus Böck <markus.bock+llvm at nextsilicon.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/ControlFlowToSCF/ControlFlowToSCF.h
    M mlir/lib/Conversion/ControlFlowToSCF/ControlFlowToSCF.cpp

  Log Message:
  -----------
  [mlir][NFC] Expose the `CFGToSCFInterface` for the `ControlFlowToSCF` pass

This is useful for any downstream users who may just want to use slightly different ops than the pass or need to take into account other ops in the input while still dealing with ControlFlow ops for the most part.
This also helps writing test implementations for `transformCFGToSCF`.

Since the implementation is now public, comments noting the post conditions of the methods have been added to ensure downstream users can stay compatible with the existing implementation.

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




More information about the All-commits mailing list