[PATCH] D18890: [AArch64] add SSA Load Store optimization pass

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 30 10:26:53 PDT 2016


Hi,

So why aren't you doing this in codegen prepare or dag combine?

Cheers,

James

> On 30 Apr 2016, at 03:38, Jongwon Lee <jong.won.lee at samsung.com> wrote:
>
> JongwonLee added a comment.
>
>> OK, but this functionality is useful for other backends too. It isn't ideal in the long term to put generic functionality needlessly in target-specific areas.
>
>
>> If you're implementing this in the SLP vectorizer, why do you need to do it here as well?
>
>
> The support of 64-bit SLP vectorization and this patch have some overlaps but not identical. Each has its own parts for optimization. And this patch can supplement SLP vectorization. For example, when loop unrolling is called after SLP vectorization, we lose the chance to pack 32-bit loads/stores unless SLP vectorization is called again. This patch can catch the chance that would happen due to the order of IR-level optimizations.
>
>
> http://reviews.llvm.org/D18890
>
>
>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.



More information about the llvm-commits mailing list