[cfe-dev] generate 32 llvm IR using clang

Rajarshi Mukherjee via cfe-dev cfe-dev at lists.llvm.org
Thu Sep 7 16:30:57 PDT 2017


Hi 
I am generating llvm IR using 
clang -cc1 -emit-llvm x.c

which seems to be generating 64bit IR 
Is there a way to generate 32bit IR. 
I tried -m32 with clang but that did not work with cc1 option.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170907/ae9998a1/attachment.html>


More information about the cfe-dev mailing list