[PATCH] [AArch64] Enable partial unrolling and runtime unrolling for AArch64 target

Hal Finkel hfinkel at anl.gov
Tue Sep 9 08:57:55 PDT 2014


----- Original Message -----
> From: "Renato Golin" <renato.golin at linaro.org>
> To: "Tilmann Scheller" <t.scheller at samsung.com>
> Cc: reviews+D5148+public+3607c133967fc2d2 at reviews.llvm.org, "LLVM Commits" <llvm-commits at cs.uiuc.edu>
> Sent: Tuesday, September 9, 2014 9:33:39 AM
> Subject: Re: [PATCH] [AArch64] Enable partial unrolling and runtime unrolling	for AArch64 target
> 
> On 9 September 2014 15:15, Tilmann Scheller <t.scheller at samsung.com>
> wrote:
> > can we make sure this is enabled only with -O3 rather than -O2/-Os
> > though?
> > (at least until the code size regressions are fixed)
> 
> Good point!

In case this helps: The way this works is that functions compiled with -Os get the 'optsize' attribute added. The UnrollingPreferences structure has both an PartialThreshold and an PartialOptSizeThreshold parameter that can be set accordingly.

 -Hal

> 
> --renato
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list