Adds a pointer type to EmitC. The emission of pointers is so far only
possible by using the emitc.opaque type
Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de>
Paths
| Differential D119337
[mlir][emitc] Add a pointer type ClosedPublic Authored by marbre on Feb 9 2022, 7:00 AM.
Details
Summary Adds a pointer type to EmitC. The emission of pointers is so far only Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de>
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 17 others. · View Herald TranscriptFeb 9 2022, 7:01 AM Comment Actions Updating D119337: [mlir][emitc] Add a pointer type Add comments to show what will be emitted. Comment Actions Updating D119337: [mlir][emitc] Add a pointer type [nfc] Harmonize naming of variables used in type builders. This revision is now accepted and ready to land.Feb 14 2022, 8:12 AM Closed by commit rG88b9d1a49aba: [mlir][emitc] Add a pointer type (authored by marbre). · Explain WhyFeb 14 2022, 8:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 407152 mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
mlir/lib/Dialect/EmitC/IR/EmitC.cpp
mlir/lib/Target/Cpp/TranslateToCpp.cpp
mlir/test/Dialect/EmitC/types.mlir
mlir/test/Target/Cpp/types.mlir
|
Could you add comments for these with what will be emitted?