[Mlir-commits] [mlir] [mlir][emitc] Mark emitc.literal with CExpression (PR #155582)

Jacques Pienaar llvmlistbot at llvm.org
Tue Sep 2 23:50:58 PDT 2025


================
@@ -442,6 +443,16 @@ static LogicalResult printOperation(CppEmitter &emitter, emitc::LoadOp loadOp) {
   return emitter.emitOperand(loadOp.getOperand());
 }
 
+static LogicalResult printOperation(CppEmitter &emitter,
+                                    emitc::LiteralOp literalOp) {
+  // If literalOp is used inside an expression, we treat it as an embedded one.
----------------
jpienaar wrote:

inlined one? 

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


More information about the Mlir-commits mailing list