[all-commits] [llvm/llvm-project] 120cd5: [MLIR] Register all extensions in CAPI's RegisterE...

Ashay Rane via All-commits all-commits at lists.llvm.org
Fri Jun 16 19:32:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 120cd5aafca2ccc8b04d208598e817ffc6d0b869
      https://github.com/llvm/llvm-project/commit/120cd5aafca2ccc8b04d208598e817ffc6d0b869
  Author: Ashay Rane <ashay at users.noreply.github.com>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M mlir/lib/CAPI/RegisterEverything/CMakeLists.txt
    M mlir/lib/CAPI/RegisterEverything/RegisterEverything.cpp

  Log Message:
  -----------
  [MLIR] Register all extensions in CAPI's RegisterEverything

The patch for promised interfaces (a5ef51d7) doesn't register all
extensions in the CAPI's `mlirRegisterAllDialects()` function.  This is
used by the MLIR Python bindings, causing downstream users of the Python
bindings to terminate abruptly.  This patch adds the call to register
all extensions.

Reviewed By: rriddle

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




More information about the All-commits mailing list