[LLVMdev] datalayout optimization question

Sebastien DELDON-GNB sebastien.deldon at st.com
Mon Apr 16 09:06:37 PDT 2012


Hi all,

We are developing our own compiler front-end and use LLVM as back-end. We generate .ll files and use opt/llc to generate target specific code. When I generate datalayout information in my .ll file it seems that it enables more optimization from LLVM opt. How can I determine which optimization are driven by datalayout information generation ?
In other words, when I don't generate target specific datalayout information, what are the optimizations that are turned off ?

Thanks for answers
Best Regards
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120416/ad5e18af/attachment.html>


More information about the llvm-dev mailing list