Automatic PGO - Initial implementation (1/N)

Eric Christopher echristo at gmail.com
Wed Sep 25 08:24:28 PDT 2013


On Wed, Sep 25, 2013 at 8:13 AM, Diego Novillo <dnovillo at google.com> wrote:
> On Wed, Sep 25, 2013 at 11:04 AM, Eric Christopher <echristo at gmail.com> wrote:
>> On Wed, Sep 25, 2013 at 6:20 AM, Diego Novillo <dnovillo at google.com> wrote:
>>>
>>> OK, I think that just having line number information should be enough.
>>>  I take it that it would not be a problem if I forced
>>> -gline-tables-only in the front end when -mauto-profile is used?
>>>
>>>
>>
>> Nope, but -mauto-profile? Why not -fauto-profile?
>
> Sure.  I'm still not sure I know the difference between -m and -f in
> LLVM.  I had the idea that -m was used to enable passes in opt and -f
> was to enable Clang features.
>

We've largely copied the gcc style here. -m (except in weird cases) is
largely used for machine specific options, -f is used for most of the
others.

-eric



More information about the llvm-commits mailing list