[Mlir-commits] [mlir] [mlir][EmitC] Expand the MemRefToEmitC pass - Lowering `reinterpret_cast` (PR #152610)
Jacques Pienaar
llvmlistbot at llvm.org
Sun Aug 10 20:33:13 PDT 2025
================
@@ -1756,6 +1756,20 @@ LogicalResult CppEmitter::emitOperation(Operation &op, bool trailingSemicolon) {
LogicalResult CppEmitter::emitVariableDeclaration(Location loc, Type type,
StringRef name) {
+ if (auto pType = dyn_cast<emitc::PointerType>(type)) {
----------------
jpienaar wrote:
Could this be a standalone PR? (this feels like it is a general refinement).
https://github.com/llvm/llvm-project/pull/152610
More information about the Mlir-commits
mailing list