[mlir][CAPI] Allow specifying pass manager anchor
authorrkayaith <rkayaith@gmail.com>
Thu, 20 Oct 2022 04:51:06 +0000 (00:51 -0400)
committerrkayaith <rkayaith@gmail.com>
Thu, 27 Oct 2022 17:32:14 +0000 (13:32 -0400)
commitf9f708ef41233bdc330cd8c6f82f48a1f5c962b0
tree6875a843c6abfa20fc5e6af9aae86084ab076aa1
parent2556ba4a52ac1bca0f2866d70f6ccba776c2b578
[mlir][CAPI] Allow specifying pass manager anchor

This adds a new function for creating pass managers that takes an
argument for the anchor string.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D136404
mlir/include/mlir-c/Pass.h
mlir/lib/CAPI/IR/Pass.cpp
mlir/test/CAPI/pass.c