[all-commits] [llvm/llvm-project] f54914: Fix mlir-reduce to explicitly register dialects an...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Aug 31 15:55:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f54914081fd43fa5aca92df6630723be902adebd
      https://github.com/llvm/llvm-project/commit/f54914081fd43fa5aca92df6630723be902adebd
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-08-31 (Mon, 31 Aug 2020)

  Changed paths:
    M mlir/lib/IR/Dialect.cpp
    M mlir/tools/mlir-reduce/CMakeLists.txt
    M mlir/tools/mlir-reduce/mlir-reduce.cpp

  Log Message:
  -----------
  Fix mlir-reduce to explicitly register dialects and disable the global dialect registry by default

Clients who rely on the Context loading dialects from the global
registry can call `mlir::enableGlobalDialectRegistry(true);` before
creating an MLIRContext

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




More information about the All-commits mailing list