[all-commits] [llvm/llvm-project] 553009: [mlir-reduce] Support parsing operations other tha...

rk via All-commits all-commits at lists.llvm.org
Mon Oct 3 13:16:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55300991b5ed574812db318742fd0de3887b54dd
      https://github.com/llvm/llvm-project/commit/55300991b5ed574812db318742fd0de3887b54dd
  Author: rkayaith <rkayaith at gmail.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M mlir/lib/Reducer/ReductionTreePass.cpp
    M mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
    A mlir/test/mlir-reduce/invalid.mlir

  Log Message:
  -----------
  [mlir-reduce] Support parsing operations other than 'builtin.module' as top-level

This adds a `--no-implicit-module` option, which disables the insertion
of a top-level `builtin.module` during parsing. Although other ops can
now be parsed as top-level, the actual reduction passes are still
restricted to `builtin.module` as it didn't seem straightforward to
update them.

Reviewed By: rriddle

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




More information about the All-commits mailing list