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

Renato Golin renato.golin at linaro.org
Tue Sep 9 04:26:17 PDT 2014


Sounds good, if you can have a flag to turn it on/off for different
workloads. Otherwise, it's as arbitrary as the current state.

--renato

On 9 September 2014 12:08, Kevin Qin <kevinqindev at gmail.com> wrote:
> Hi Renato,
>
> As I replied last time, I've investigated the regressions and got the
> reason. For runtime unrolling, the optimization itself is not a conservative
> method which can always bring improvement. So no matter how to improve the
> algorithm, there must be some regressions if we have a prologue for checking
> the loop count. And it's hard to get improved because nearly all useful
> informations are not decided at compiling time. So if we want to fix the
> regression, we have to guess those runtime information by some heuristic
> way. Maybe it works for some cases, but also may reduce the improvment on
> others.



More information about the llvm-commits mailing list