[all-commits] [llvm/llvm-project] 059cb8: Remove dependency from lib/CAPI/IR/IR.cpp on regis...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Aug 14 09:36:36 PDT 2020


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

  Changed paths:
    M mlir/lib/CAPI/IR/IR.cpp

  Log Message:
  -----------
  Remove dependency from lib/CAPI/IR/IR.cpp on registerAllDialects() (build fix)

This library does not depend on all the dialects, conceptually. This is
changing the recently introduced `mlirContextLoadAllDialects()` function
to not call `registerAllDialects()` itself, which aligns it better with
the C++ code anyway (and this is deprecated and will be removed soon).




More information about the All-commits mailing list