3 Commits

Author SHA1 Message Date
Simon Camphausen
95c2d79814
[mlir][EmitC] memref-to-emitc: insert conversion_casts (#114204)
Add materializations to the conversion pass, such that types of
non-converted operands are legalized.
2024-10-30 15:27:23 +01:00
Longsheng Mou
3c5374595b
[mlir][EmitC] Do not convert illegal types in EmitC (#104571)
This patch adds check for unsupported types in emitc, which fixes a
crash. Fix #103706.
2024-08-20 17:49:58 +08:00
Matthias Gehre
0aa6d57e57
[MLIR] Add initial convert-memref-to-emitc pass (#85389)
This converts `memref.alloca`, `memref.load` & `memref.store` to
`emitc.variable`, `emitc.subscript` and `emitc.assign`.
2024-03-21 14:27:37 +01:00