[Mlir-commits] [mlir] [mlir][emitc] Fix creating pointer from constant array (PR #162083)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Oct 18 09:27:24 PDT 2025


RAGL1701 wrote:

> When creating a pointer from a constant emitc array, check if it is constant. If it is, create the pointer as opaque<"const {type}">>.
> 
> Move out C type string creation logic from TranslateToCpp.cpp to getCTypeString in EmitC.cpp as a shared utility function.



https://github.com/llvm/llvm-project/pull/162083


More information about the Mlir-commits mailing list