[Mlir-commits] [mlir] [mlir][linalg] Improve getPreservedProducerResults estimation in ElementwiseOpFusion (PR #104409)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Aug 15 14:15:51 PDT 2024
================
@@ -498,7 +498,8 @@ struct ElementwiseOpFusionResult {
Operation *fusedOp;
llvm::DenseMap<Value, Value> replacements;
static llvm::SmallDenseSet<int>
- getPreservedProducerResults(GenericOp producer, GenericOp consumer);
+ getPreservedProducerResults(GenericOp producer, GenericOp consumer,
----------------
MaheshRavishankar wrote:
Actually looking at this now, I dont see a reason for this to be a method in this struct. While here, could you just move it to a separate method outside of this struct.
https://github.com/llvm/llvm-project/pull/104409
More information about the Mlir-commits
mailing list