[all-commits] [llvm/llvm-project] 0db1ae: [mlir][CFGToSCF] Visit subregions in CFGToSCF pass

Ivan Butygin via All-commits all-commits at lists.llvm.org
Sun Aug 20 10:36:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0db1ae3ed111a213e95e2317c3b4457c0f8826c1
      https://github.com/llvm/llvm-project/commit/0db1ae3ed111a213e95e2317c3b4457c0f8826c1
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2023-08-20 (Sun, 20 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/ControlFlowToSCF/ControlFlowToSCF.cpp
    M mlir/test/Conversion/ControlFlowToSCF/test.mlir

  Log Message:
  -----------
  [mlir][CFGToSCF] Visit subregions in CFGToSCF pass

This is useful when user already have partially-scf'ed IR or other ops with nested regions (e.g. linalg.generic).

Also, improve error message and pass docs.

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




More information about the All-commits mailing list