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

Amir Bishara llvmlistbot at llvm.org
Mon Dec 30 11:00:25 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) {
----------------
amirBish wrote:

Sure, modified it back.

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


More information about the Mlir-commits mailing list