[llvm-commits] [llvm] r70343 - in /llvm/trunk: docs/CommandGuide/ include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/AsmPrinter/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/ARM/AsmPrinter/ lib/Target/Alpha/ lib/Target/Al
Evan Cheng
evan.cheng at apple.com
Wed Apr 29 14:28:13 PDT 2009
On Apr 29, 2009, at 2:23 PM, Bill Wendling wrote:
> On Wed, Apr 29, 2009 at 2:16 PM, Evan Cheng <evan.cheng at apple.com>
> wrote:
>> Bill, you still have to change LTOCodeGenerator.cpp.
>
> Done.
>
>> Also, rather than
>> an unsigned for OptLevel, should it be an enum instead? We basically
>> want to support a knob with 3 levels: no optimization, default
>> optimization, aggressive optimization. Those correspond to -O0, -
>> O1 / -
>> O2 / -Os, -O3.
>>
> I'll look into this.
Thanks. With an enum, we can actually document what the values
mean. :-) For llc, lli, and LTO, I think it makes sense to use the
"aggressive" level by default.
Evan
>
> -bw
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list