[llvm-dev] command line options to force function/loop alignments.

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 1 08:11:47 PDT 2016


> 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