[Mlir-commits] [mlir] [mlir][linalg] Expose getPreservedProducerResults method from ElementwiseOpFusion file (PR #73850)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Nov 30 01:31:09 PST 2023


================
@@ -493,6 +493,8 @@ LogicalResult dropUnitDims(RewriterBase &rewriter, GenericOp genericOp,
 struct ElementwiseOpFusionResult {
   Operation *fusedOp;
   llvm::DenseMap<Value, Value> replacements;
+  static llvm::SmallDenseSet<int>
----------------
MaheshRavishankar wrote:

Ok. Maybe a utility would help, but it has to be consistent. Basically the transformation should use the same utility. If there are two places to change, chances are that they break over time. I am not sure how to structure that.


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


More information about the Mlir-commits mailing list