commit | 9d31cf4a78f3ea6aaed693b4c2065d4dad106337 | [log] [tgz] |
---|---|---|
author | Matthias Gehre <matthias.gehre@amd.com> | Tue Apr 23 09:28:37 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 00:35:24 2024 -0700 |
tree | 1fb4e81643116b4358dcf26ad7c8fc67b7dc1591 | |
parent | 70dd3b8ff958c4cc268d0c324a56cfabe26fcdcf [diff] |
EmitC: Add emitc.global and emitc.get_global (#145) (#88701) This adds - `emitc.global` and `emitc.get_global` ops to model global variables similar to how `memref.global` and `memref.get_global` work. - translation of those ops to C++ - lowering of `memref.global` and `memref.get_global` into those ops --------- Co-authored-by: Simon Camphausen <simon.camphausen@iml.fraunhofer.de> GitOrigin-RevId: 654846560c8892b32ea1e92c1fffc5e70bf0e75f
See https://mlir.llvm.org/ for more information.