[llvm-dev] Preserving the type of structure

sangeeta chowdhary via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 28 19:29:39 PST 2020


Hello,

LLVM IR flattens out the structure with one integer element to i32. Is
there any way to disable this? I want to preserve the type information of
the structure. I tried compiling the program with O0, it maintains the type
for most of the instructions but for all.

Regards,
Sangeeta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200228/c6676093/attachment.html>


More information about the llvm-dev mailing list