[mlir][CAPI] Export mlirValueEqual in C API

Somehow it is not exported in C API.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D105422
This commit is contained in:
Bairen Yi 2021-07-07 11:26:50 +02:00 committed by Alex Zinenko
parent 4ce26deac2
commit 50ad774777
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ mlirBlockPrint(MlirBlock block, MlirStringCallback callback, void *userData);
static inline bool mlirValueIsNull(MlirValue value) { return !value.ptr; }
/// Returns 1 if two values are equal, 0 otherwise.
bool mlirValueEqual(MlirValue value1, MlirValue value2);
MLIR_CAPI_EXPORTED bool mlirValueEqual(MlirValue value1, MlirValue value2);
/// Returns 1 if the value is a block argument, 0 otherwise.
MLIR_CAPI_EXPORTED bool mlirValueIsABlockArgument(MlirValue value);