Displaying 3 results from an estimated 3 matches for "isspeed".
Did you mean:
ifspeed
2013 Nov 27
0
[LLVMdev] Disabling certain optimizations at -O1?
...pace = 4, // Size
Aggressive = 8,
}
-O0 = Debug
-O1 = Debug+Aggressive
-O2 = Speed
-O3 = Speed+Aggressive
-Os = Space
-Oz = Space+Aggressive
Then passes only need to know which flags are set...
In our specific case, not running SimplifyCFG and friends would only
need to know "if (OptLevel.isSpeed()) simplify();". At least the code
would make more sense to the reader...
cheers,
--renato
2013 Nov 27
2
[LLVMdev] Disabling certain optimizations at -O1?
> AFAIU, it's not OK for -g to affect code generation. I agree with the
> rest of your plan.
That's correct, -g must not affect code generation. This is a
fundamental mantra among debug-info people.
>
>
> On Wed, Nov 27, 2013 at 2:16 PM, Renato Golin <renato.golin at linaro.org>
> wrote:
> > On 27 November 2013 08:43, Evgeniy Stepanov
>
2013 Nov 28
2
[LLVMdev] Disabling certain optimizations at -O1?
...ace are better modeled as a single
three-way setting and not as flags. Is it sensible to have more than
one of those three on at the same time? I wouldn't think so...
--paulr
>
> In our specific case, not running SimplifyCFG and friends would only
> need to know "if (OptLevel.isSpeed()) simplify();". At least the code
> would make more sense to the reader...
>
> cheers,
> --renato