[llvm-dev] Adding libcall support for Rust's new vector math library
Sjoerd Meijer via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 10 08:47:06 PDT 2021
> Yeah, I'm aware the infrastructure already exists, I'm just not sure how I should add the new code -- which classes should I subclass/modify?
I think you could do this by example. There is a front-end part, e.g. https://reviews.llvm.org/D53928, and there is back-end part, e.g. https://reviews.llvm.org/D53927.
________________________________
From: Jacob Lifshay <programmerjake at gmail.com>
Sent: 09 June 2021 18:52
To: Sjoerd Meijer <Sjoerd.Meijer at arm.com>
Cc: llvm-dev <llvm-dev at lists.llvm.org>; Jubilee Young <workingjubilee at gmail.com>
Subject: Re: [llvm-dev] Adding libcall support for Rust's new vector math library
On Tue, Jun 8, 2021, 02:48 Sjoerd Meijer <Sjoerd.Meijer at arm.com<mailto:Sjoerd.Meijer at arm.com>> wrote:
Sounds like a good plan to me, but perhaps others know more/better.
Thanks!
Clang option -fveclib= can be used to specify a vector library, so I think the infrastructure is there and you'll just need to plumb in support for yours.
Yeah, I'm aware the infrastructure already exists, I'm just not sure how I should add the new code -- which classes should I subclass/modify?
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210610/ef474007/attachment.html>
More information about the llvm-dev
mailing list