[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
================
@@ -56,6 +57,51 @@ def IntegerIndexOrOpaqueType : Type<CPred<"emitc::isIntegerIndexOrOpaqueType($_s
"integer, index or opaque type supported by EmitC">;
def FloatIntegerIndexOrOpaqueType : AnyTypeOf<[EmitCFloatType, IntegerIndexOrOpaqueType]>;
+def EmitC_FileOp
+ : EmitC_Op<"file", [IsolatedFromAbove, NoRegionArguments, SymbolTable,
+ OpAsmOpInterface]#GraphRegionNoTerminator.traits> {
----------------
aniragil wrote:
C/C++ file-level constructs (functions, global variables, directives etc) need to be declared/defined before use. Shouldn't the region be SSACFG?
https://github.com/llvm/llvm-project/pull/123298
More information about the Mlir-commits
mailing list