[llvm] [GlobalISel][AArch64] Legalize G_FABS and G_FNEG for SVE (PR #114784)

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 01:08:07 PST 2024


Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/114784 at github.com>


madhur13490 wrote:

> @tschuett What's your overall strategy and plan for implementing support for SVE? This is a big task and if you have a year or more of time to dedicate to this, I highly recommend you first take some time to understand the existing implementation before you write a single line of code.
> 
> Sander & Paul have been working on scalable vector support for 10 years (wow, time flies!) so follow their advice. I think for scalable vectors/SVE specifically, since we have so much engineering effort invested into this we should be trying to re-use as much as possible and only diverge when absolutely necessary.

+1. 

I think we should have a RFC for this. The plan for SVE implementation should be spelled out at some point. How are we approaching this? What pieces can be reused? I understand that we have some patches in the community (including some from my team) but we should take a moment and write down at least a rough plan

https://github.com/llvm/llvm-project/pull/114784


More information about the llvm-commits mailing list