[Mlir-commits] [mlir] [mlir][EmitC] Refactor MLIR Translate To Cpp (PR #84973)
Simon Camphausen
llvmlistbot at llvm.org
Wed Mar 20 07:50:12 PDT 2024
simon-camp wrote:
Couldn't you have something like this:
```c++
std::string typeName = std::string("TQue<QuePosition::") + std::to_string(tque.getTposition()) + ", " + std::to_string(tque.getBufNum()) + ">";
Type t = emitc::OpaqueType::get(ctx, typeName);
```
That's not much different to printing the parts to the output stream.
https://github.com/llvm/llvm-project/pull/84973
More information about the Mlir-commits
mailing list