[llvm-dev] command line options to force function/loop alignments.
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 1 13:24:18 PDT 2016
> On Jun 1, 2016, at 1:10 PM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote:
>
> Thank you Mehdi ,
>
> Do we have external options like -f<> ,to control the same ???
I don't think so.
cl::opt are intended to be "developer option". I believe that only when there is a compelling use case, we may plumb a "user facing" option.
>
> ~Umesh
>
>> On Wed, Jun 1, 2016 at 8:41 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>>
>>> On Jun 1, 2016, at 5:07 AM, Umesh Kalappa via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>>
>>> Hi ,
>>>
>>> This is regrading ,with below commit
>>>
>>> Revision 256571 - (view) (download) - [select for diffs]
>>> Modified Tue Dec 29 12:18:07 2015 CST (5 months ago) by mcrosier
>>> File length: 35649 byte(s)
>>> Diff to previous 254562 (colored)
>>>
>>> Add command line options to force function/loop alignments.
>>>
>>> These are being added for testing purposes.
>>> http://reviews.llvm.org/D15648
>>>
>>>
>>> How do we enable/disable above options ,via clang driver .
>>
>> Like all the other cl::opt "developer options": by preceding them with -mllvm.
>> clang -mllvm -align-all-loops
>>
>> --
>> Mehdi
>>
More information about the llvm-dev
mailing list