Skip to content

Commit

Permalink
[mlir][CAPI] Export mlirValueEqual in C API
Browse files Browse the repository at this point in the history
Somehow it is not exported in C API.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D105422
  • Loading branch information
Bairen Yi authored and ftynse committed Jul 7, 2021
1 parent 4ce26de commit 50ad774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/include/mlir-c/IR.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 50ad774

Please sign in to comment.