[all-commits] [llvm/llvm-project] 2387fa: [mlir][capi] Add external pass creation to MLIR C-API

Daniel Resnick via All-commits all-commits at lists.llvm.org
Mon Apr 4 09:29:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2387fadea3a807ba59993a23529035c13f478002
      https://github.com/llvm/llvm-project/commit/2387fadea3a807ba59993a23529035c13f478002
  Author: Daniel Resnick <danielzresnick at gmail.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M mlir/include/mlir-c/IR.h
    M mlir/include/mlir-c/Pass.h
    M mlir/include/mlir-c/Support.h
    M mlir/include/mlir/CAPI/IR.h
    M mlir/include/mlir/CAPI/Support.h
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/CAPI/IR/Pass.cpp
    M mlir/lib/CAPI/IR/Support.cpp
    M mlir/test/CAPI/CMakeLists.txt
    M mlir/test/CAPI/pass.c

  Log Message:
  -----------
  [mlir][capi] Add external pass creation to MLIR C-API

Adds the ability to create external passes using the C-API. This allows passes
to be written in C or languages that use the C-bindings.

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




More information about the All-commits mailing list