[llvm-dev] get Optimization Level options

Ramakota Reddy via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 20 03:58:58 PDT 2019


Hi All,

I want to use Optimization Level options in tailDuplicate() API from TailDuplicator.cpp file to restrict splice() function.

With -Oz option this splice() API is duplicating the RET instruction in predecessor blocks.

Could anyone please give your suggestions to get OPTLevel Options(which object will carry OptLevel Options in this stage?) in this level.

Thanks & Regards,
Ramakota Reddy.


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190320/4e7be42d/attachment.html>


More information about the llvm-dev mailing list