[llvm-dev] opt passes
Hal Finkel via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 5 07:49:27 PDT 2017
On 07/04/2017 04:25 AM, Anastasiya Ruzhanskaya via llvm-dev wrote:
> I am developing now a compiler, based on llvm infrastructure, so I am
> building my own sequence of llvm passes with some adjustable options.
> I can't find really clear info about some cases, so maybe you can
> help, and write:
> 0) Why I should always delete attributes before applying optimizations
> with opt command? With attributes specified no optimization can be
You definitely shouldn't delete attributes in general. Does your
attribute set include optnone?
> Where I can get real benefit from:
> 1) Constant Hoisting
> -only when we have some large reusable constants in program?
> 2) argpomotion
> - this option does not always replace all my args by reerence with
> values, when I specify it.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev