[Mlir-commits] [mlir] [mlir][bufferization]-Refactor findValueInReverseUseDefChain to accept opOperand (PR #121304)

Matthias Springer llvmlistbot at llvm.org
Mon Dec 30 07:57:23 PST 2024


================
@@ -464,20 +469,22 @@ static void annotateConflict(OpOperand *uRead, OpOperand *uConflictingWrite,
 /// indexing. I.e., the tensor types do not change along the use-def chain,
 /// apart from static <-> dynamic dim casts.
 static bool hasEquivalentValueInReverseUseDefChain(AnalysisState &state,
-                                                   Value start, Value other) {
+                                                   OpOperand *start,
+                                                   OpOperand *other) {
----------------
matthias-springer wrote:

`other` can stay a `Value`?

https://github.com/llvm/llvm-project/pull/121304


More information about the Mlir-commits mailing list