[Mlir-commits] [mlir] [MLIR] emitc: Add emitc.file op (PR #123298)

Gil Rapaport llvmlistbot at llvm.org
Sun Feb 2 09:58:42 PST 2025


================
@@ -1561,8 +1585,9 @@ LogicalResult CppEmitter::emitOperation(Operation &op, bool trailingSemicolon) {
                 emitc::GlobalOp, emitc::IfOp, emitc::IncludeOp, emitc::LoadOp,
                 emitc::LogicalAndOp, emitc::LogicalNotOp, emitc::LogicalOrOp,
                 emitc::MulOp, emitc::RemOp, emitc::ReturnOp, emitc::SubOp,
-                emitc::SwitchOp, emitc::UnaryMinusOp, emitc::UnaryPlusOp,
-                emitc::VariableOp, emitc::VerbatimOp>(
+                emitc::SwitchOp, emitc::FileOp, emitc::UnaryMinusOp,
----------------
aniragil wrote:

Violates lexicographic order of ops.

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


More information about the Mlir-commits mailing list