diff options
| author | max <maksim.levental@gmail.com> | 2023-04-25 15:32:14 -0500 |
|---|---|---|
| committer | max <maksim.levental@gmail.com> | 2023-04-25 15:45:17 -0500 |
| commit | fd527ceff1c7bcaa2c9b5c27a52164cdd16a4ebe (patch) | |
| tree | 720287770c7093eebde25d029c8fcdceea6e8f89 /mlir/lib/CAPI | |
| parent | 20d0f80dd35676bf0dfa56ed7edc94b8ccb71c3f (diff) | |
| download | llvm-fd527ceff1c7bcaa2c9b5c27a52164cdd16a4ebe.tar.gz | |
Revert "[MLIR][python bindings] implement `replace_all_uses_with` on `PyValue`"
This reverts commit 3bab7cb089d92cc7025ebc57ef3a74d3ce94ecd8 because it breaks sanitizers.
Differential Revision: https://reviews.llvm.org/D149188
Diffstat (limited to 'mlir/lib/CAPI')
| -rw-r--r-- | mlir/lib/CAPI/IR/IR.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mlir/lib/CAPI/IR/IR.cpp b/mlir/lib/CAPI/IR/IR.cpp index 0bbcb3083062..051559acd440 100644 --- a/mlir/lib/CAPI/IR/IR.cpp +++ b/mlir/lib/CAPI/IR/IR.cpp @@ -751,10 +751,6 @@ MlirOpOperand mlirValueGetFirstUse(MlirValue value) { return wrap(opOperand); } -void mlirValueReplaceAllUsesOfWith(MlirValue oldValue, MlirValue newValue) { - unwrap(oldValue).replaceAllUsesWith(unwrap(newValue)); -} - //===----------------------------------------------------------------------===// // OpOperand API. //===----------------------------------------------------------------------===// |
