[Mlir-commits] [mlir] Unify handling of operations which are emitted in a deferred way (PR #97804)

Gil Rapaport llvmlistbot at llvm.org
Fri Jul 5 13:09:01 PDT 2024


================
@@ -174,6 +174,9 @@ struct CppEmitter {
   /// Emit an expression as a C expression.
   LogicalResult emitExpression(ExpressionOp expressionOp);
 
+  /// Insert the expression representing the operation into the value cache.
+  LogicalResult cacheDeferredOpResult(Operation *op);
----------------
aniragil wrote:

```suggestion
  LogicalResult cacheDeferredOpResult(Value result, std::string str);
```

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


More information about the Mlir-commits mailing list