[Mlir-commits] [mlir] [emitC]Option to mlir-translate class instead of function (PR #141158)

Mircea Trofin llvmlistbot at llvm.org
Fri Jun 6 19:39:52 PDT 2025


Valentin Clement =?utf-8?b?KOODkOODrOODsw==?=,Jaddyen <ajaden at google.com>,Jaddyen
 <ajaden at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/141158 at github.com>


================

----------------
mtrofin wrote:

something looks off. I'd imagine it'd look like:

```
"emitc.class"() @MyModelClass ( {
    "emitc.field"() @field1 ..
```
just like we have (in the input mlir) `"emitc.func"() @main `



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


More information about the Mlir-commits mailing list