command line options to force function/loop alignments.

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 .

Appreciate any help here .

Thank you
~Umesh

Like all the other cl::opt "developer options": by preceding them with -mllvm.
clang -mllvm -align-all-loops

Thank you Mehdi ,

Do we have external options like -f<> ,to control the same ???

~Umesh

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.